org.dbunit.dataset.stream
Class StreamingDataSet
java.lang.Object
org.dbunit.dataset.AbstractDataSet
org.dbunit.dataset.stream.StreamingDataSet
- All Implemented Interfaces:
- IDataSet
public class StreamingDataSet
- extends AbstractDataSet
Dataset that consumes producer asynchronously.
- Since:
- Apr 18, 2003
- Version:
- $Revision: 932 $ $Date: 2008-12-30 10:59:17 +0100 (mar, 30 dic 2008) $
- Author:
- Manuel Laflamme, Last changed by: $Author: gommma $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StreamingDataSet
public StreamingDataSet(IDataSetProducer source)
createIterator
protected ITableIterator createIterator(boolean reversed)
throws DataSetException
- Description copied from class:
AbstractDataSet
- Creates an iterator which provides access to all tables of this dataset
- Specified by:
createIterator in class AbstractDataSet
- Parameters:
reversed - Whether the created iterator should be a reversed one or not
- Returns:
- The created
ITableIterator
- Throws:
DataSetException
getTableNames
public java.lang.String[] getTableNames()
throws DataSetException
- Not supported.
- Specified by:
getTableNames in interface IDataSet- Overrides:
getTableNames in class AbstractDataSet
- Throws:
java.lang.UnsupportedOperationException
DataSetException
getTableMetaData
public ITableMetaData getTableMetaData(java.lang.String tableName)
throws DataSetException
- Not supported.
- Specified by:
getTableMetaData in interface IDataSet- Overrides:
getTableMetaData in class AbstractDataSet
- Throws:
java.lang.UnsupportedOperationException
NoSuchTableException - if dataset do not contains the specified
table
DataSetException
getTable
public ITable getTable(java.lang.String tableName)
throws DataSetException
- Not supported.
- Specified by:
getTable in interface IDataSet- Overrides:
getTable in class AbstractDataSet
- Throws:
java.lang.UnsupportedOperationException
NoSuchTableException - if dataset do not contains the specified
table
DataSetException
Copyright © 2002-2009. All Rights Reserved.