|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An iterator on a result set from a prepared and executed query. Multiple IResultIterator objects could be associated with the same IExtractionResults object, if extraction is done at report level
Method Summary | |
void |
close()
Closes this result and provide a hint that the consumer is done with this result, whose resources can be safely released as appropriate. |
IExtractionResults |
getQueryResults()
Returns IExtractionResults
from which this data iterator is obtained. |
IResultMetaData |
getResultMetaData()
Returns the metadata of this result set's detail row. |
java.lang.Object |
getValue(int index)
|
java.lang.Object |
getValue(java.lang.String columnName)
Returns the value of a column. |
boolean |
next()
Moves down one element from its current position of the iterator. |
Method Detail |
public IExtractionResults getQueryResults()
IExtractionResults
from which this data iterator is obtained.
public IResultMetaData getResultMetaData() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
public boolean next() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
- if error occurspublic java.lang.Object getValue(java.lang.String columnName) throws org.eclipse.birt.core.exception.BirtException
columnName
- the name of the column
org.eclipse.birt.core.exception.BirtException
- if error occurspublic java.lang.Object getValue(int index) throws org.eclipse.birt.core.exception.BirtException
index
- column index. It is 1 based
org.eclipse.birt.core.exception.BirtException
- if error occurspublic void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |