|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRQueryExecuter
Query executer interface.
An implementation of this interface is created when the input data of a report/dataset is specified by a query. The implementation will run the query and create aJRDataSource
from the result.
The query executers would usually be initialized by a JRQueryExecuterFactory
with the query and the parameter values.
JRQueryExecuterFactory
Method Summary | |
---|---|
boolean |
cancelQuery()
Cancels the query if it's currently running. |
void |
close()
Closes resources kept open during the data source iteration. |
JRDataSource |
createDatasource()
Executes the query and creates a JRDataSource out of the result. |
Method Detail |
---|
JRDataSource createDatasource() throws JRException
JRDataSource
out of the result.
JRDataSource
wrapping the query execution result.
JRException
void close()
createDatasource
.
boolean cancelQuery() throws JRException
true
if and only if the query was running and it has been canceled
JRException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |