public class StreamingIterator extends Object implements ITableIterator
| Constructor and Description |
|---|
StreamingIterator(IDataSetProducer source)
Iterator that creates a table iterator by reading the input from
the given source in an asynchronous way.
|
| Modifier and Type | Method and Description |
|---|---|
ITable |
getTable()
Returns the current table.
|
ITableMetaData |
getTableMetaData()
Returns the metadata of the current table.
|
boolean |
next()
Position this iterator to the next table.
|
public StreamingIterator(IDataSetProducer source) throws DataSetException
source - The source of the dataDataSetExceptionpublic boolean next()
throws DataSetException
ITableIteratornext in interface ITableIteratortrue if the new current table is valid;
false if there are no more tableDataSetExceptionpublic ITableMetaData getTableMetaData() throws DataSetException
ITableIteratorgetTableMetaData in interface ITableIteratorDataSetExceptionpublic ITable getTable() throws DataSetException
ITableIteratorgetTable in interface ITableIteratorDataSetExceptionCopyright © 2002-2017. All Rights Reserved.