org.dbunit.dataset.stream
Class StreamingDataSet

java.lang.Object
  extended by org.dbunit.dataset.AbstractDataSet
      extended by org.dbunit.dataset.stream.StreamingDataSet
All Implemented Interfaces:
IDataSet

public class StreamingDataSet
extends AbstractDataSet

Dataset that consumes producer asyncronously.

Since:
Apr 18, 2003
Version:
$Revision: 554 $
Author:
Manuel Laflamme

Constructor Summary
StreamingDataSet(IDataSetProducer source)
           
 
Method Summary
protected  ITableIterator createIterator(boolean reversed)
           
 ITable getTable(java.lang.String tableName)
          Not supported.
 ITableMetaData getTableMetaData(java.lang.String tableName)
          Not supported.
 java.lang.String[] getTableNames()
          Not supported.
 
Methods inherited from class org.dbunit.dataset.AbstractDataSet
cloneTables, getTables, iterator, reverseIterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamingDataSet

public StreamingDataSet(IDataSetProducer source)
Method Detail

createIterator

protected ITableIterator createIterator(boolean reversed)
                                 throws DataSetException
Specified by:
createIterator in class AbstractDataSet
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-2008. All Rights Reserved.