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
JRQueryExecuter
cancelQuery
in interface JRQueryExecuter
true
if and only if the query was running and it has been canceledJRException
public void close()
JRQueryExecuter
createDatasource
.close
in interface JRQueryExecuter
public JRDataSource createDatasource() throws JRException
JRQueryExecuter
JRDataSource
out of the result.createDatasource
in interface JRQueryExecuter
JRDataSource
wrapping the query execution result.JRException
Copyright © 2016. All rights reserved.