|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataIterator
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. |
org.eclipse.birt.data.engine.api.IResultIterator |
getResultIterator()
return the IResultIterator directly |
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 |
isEmpty()
see whether this iterator is empty |
boolean |
next()
Moves down one element from its current position of the iterator. |
Method Detail |
---|
IExtractionResults getQueryResults()
IExtractionResults
from which this data iterator is obtained.
IResultMetaData getResultMetaData() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
boolean next() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
- if error occursjava.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 occursjava.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 occursvoid close()
boolean isEmpty() throws org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.core.exception.BirtException
org.eclipse.birt.data.engine.api.IResultIterator getResultIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |