|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A handle used to retrieve a data engine query's results. A query results could contain multiple result sets. This is intended to be used by both Factory and Presentation Engines in BIRT, including later releases when a report document persists. Beyond Release 1, this would include methods to save and restore results in a persisted Report Document.
| Method Summary | |
void |
close()
Closes all query result set(s) associated with this object; provides a hint to the query that it can safely release all associated resources. |
java.lang.String |
getID()
Every query results has a unique id. |
IPreparedQuery |
getPreparedQuery()
Returns the IPreparedQuery
that produced this instance. |
IResultIterator |
getResultIterator()
Returns the current result's iterator. |
IResultMetaData |
getResultMetaData()
Returns the metadata of the first or current result set This method provides the result metadata without having to first fetch the result data. |
| Method Detail |
public java.lang.String getID()
public IPreparedQuery getPreparedQuery()
IPreparedQuery
that produced this instance.
public IResultMetaData getResultMetaData()
throws org.eclipse.birt.core.exception.BirtException
Returns Null if the metadata is not available before fetching
from an
IResultIterator,
or if it is ambiguous on which result set to reference.
In such case, one should obtain the result metadata
from a specific IResultIterator.
IQueryResults. Null if not available or
ambiguous on which result set to reference.
org.eclipse.birt.data.engine.core.DataException - if error occurs in Data Engine
org.eclipse.birt.core.exception.BirtException
public IResultIterator getResultIterator()
throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.data.engine.core.DataException - if error occurs in Data Engine
org.eclipse.birt.core.exception.BirtException
public void close()
throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||