Package org.dbunit.dataset.stream
Class StreamingDataSet
java.lang.Object
org.dbunit.dataset.AbstractDataSet
org.dbunit.dataset.stream.StreamingDataSet
- All Implemented Interfaces:
IDataSet
Dataset that consumes producer asynchronously.
- Since:
- Apr 18, 2003
- Version:
- $Revision$ $Date$
- Author:
- Manuel Laflamme, Last changed by: $Author$
-
Field Summary
Fields inherited from class org.dbunit.dataset.AbstractDataSet
_orderedTableNameMap -
Constructor Summary
ConstructorsConstructorDescriptionStreamingDataSet(IDataSetProducer source) Creates a dataset that asynchronously consumes the given producer. -
Method Summary
Modifier and TypeMethodDescriptionprotected ITableIteratorcreateIterator(boolean reversed) Creates an iterator which provides access to all tables of this datasetNot supported.getTableMetaData(String tableName) Not supported.String[]Not supported.Methods inherited from class org.dbunit.dataset.AbstractDataSet
createTableNameMap, getTables, initialize, isCaseSensitiveTableNames, iterator, reverseIterator, toString
-
Constructor Details
-
StreamingDataSet
Creates a dataset that asynchronously consumes the given producer.- Parameters:
source- the producer to consume.
-
-
Method Details
-
createIterator
Description copied from class:AbstractDataSetCreates an iterator which provides access to all tables of this dataset- Specified by:
createIteratorin classAbstractDataSet- Parameters:
reversed- Whether the created iterator should be a reversed one or not- Returns:
- The created
ITableIterator - Throws:
DataSetException- if the iterator cannot be created.
-
getTableNames
Not supported.- Specified by:
getTableNamesin interfaceIDataSet- Overrides:
getTableNamesin classAbstractDataSet- Returns:
- the table names, in proper sequence.
- Throws:
UnsupportedOperationException- always.DataSetException- if the table names cannot be determined.
-
getTableMetaData
Not supported.- Specified by:
getTableMetaDatain interfaceIDataSet- Overrides:
getTableMetaDatain classAbstractDataSet- Parameters:
tableName- the name of the table to look up.- Returns:
- the metadata of the specified table.
- Throws:
UnsupportedOperationException- always.DataSetException
-
getTable
Not supported.- Specified by:
getTablein interfaceIDataSet- Overrides:
getTablein classAbstractDataSet- Parameters:
tableName- the name of the table to look up.- Returns:
- the specified table.
- Throws:
UnsupportedOperationException- always.DataSetException
-