public class JREmptyQueryExecuter extends Object implements JRQueryExecuter
| Constructor and Description |
|---|
JREmptyQueryExecuter() |
| 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. |
public boolean cancelQuery()
throws JRException
JRQueryExecutercancelQuery in interface JRQueryExecutertrue if and only if the query was running and it has been canceledJRExceptionpublic void close()
JRQueryExecutercreateDatasource.close in interface JRQueryExecuterpublic JRDataSource createDatasource() throws JRException
JRQueryExecuterJRDataSource out of the result.createDatasource in interface JRQueryExecuterJRDataSource wrapping the query execution result.JRExceptionCopyright © 2017. All rights reserved.