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 dataDataSetException
public boolean next() throws DataSetException
ITableIterator
next
in interface ITableIterator
true
if the new current table is valid;
false
if there are no more tableDataSetException
public ITableMetaData getTableMetaData() throws DataSetException
ITableIterator
getTableMetaData
in interface ITableIterator
DataSetException
public ITable getTable() throws DataSetException
ITableIterator
getTable
in interface ITableIterator
DataSetException
Copyright © 2002–2017. All rights reserved.