public interface JRQueryExecuter
JRDataSource
from the result.
The query executers would usually be initialized by a QueryExecuterFactory
with the query and the parameter values.QueryExecuterFactory| Modifier and Type | Method and Description |
|---|---|
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. |
JRDataSource createDatasource() throws JRException
JRDataSource out of the result.JRDataSource wrapping the query execution result.JRExceptionvoid close()
createDatasource.boolean cancelQuery()
throws JRException
true if and only if the query was running and it has been canceledJRExceptionCopyright © 2017. All rights reserved.