public interface IDataIterator
Modifier and Type | Method and Description |
---|---|
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.
|
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 columnorg.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 basedorg.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()
Copyright © 2008 Actuate Corp. All rights reserved.