|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbunit.dataset.stream.StreamingIterator
public class StreamingIterator
Asynchronous table iterator that uses a new Thread for asynchronous processing.
Constructor Summary | |
---|---|
StreamingIterator(IDataSetProducer source)
Iterator that creates a table iterator by reading the input from the given source in an asynchronous way. |
Method Summary | |
---|---|
ITable |
getTable()
Returns the current table. |
ITableMetaData |
getTableMetaData()
Returns the metadata of the current table. |
boolean |
next()
Position this iterator to the next table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamingIterator(IDataSetProducer source) throws DataSetException
source
- The source of the data
DataSetException
Method Detail |
---|
public boolean next() throws DataSetException
ITableIterator
next
in interface ITableIterator
true
if the new current table is valid;
false
if there are no more table
DataSetException
public ITableMetaData getTableMetaData() throws DataSetException
ITableIterator
getTableMetaData
in interface ITableIterator
DataSetException
public ITable getTable() throws DataSetException
ITableIterator
getTable
in interface ITableIterator
DataSetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |