|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.query.JREmptyQueryExecuter
public class JREmptyQueryExecuter
Constructor Summary | |
---|---|
JREmptyQueryExecuter()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JREmptyQueryExecuter()
Method Detail |
---|
public boolean cancelQuery() throws JRException
JRQueryExecuter
cancelQuery
in interface JRQueryExecuter
true
if and only if the query was running and it has been canceled
JRException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |