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 asynchronously.

Since:
Apr 18, 2003
Version:
$Revision: 767 $ $Date: 2008-08-01 14:26:47 +0200 (Fri, 01 Aug 2008) $
Author:
Manuel Laflamme, Last changed by: $Author: gommma $

Constructor Summary
StreamingDataSet(IDataSetProducer source)
           
 
Method Summary
protected  ITableIterator createIterator(boolean reversed)
          Creates an iterator which provides access to all tables of this dataset
 ITable getTable(String tableName)
          Not supported.
 ITableMetaData getTableMetaData(String tableName)
          Not supported.
 String[] getTableNames()
          Not supported.
 
Methods inherited from class org.dbunit.dataset.AbstractDataSet
createTableNameMap, getTables, isCaseSensitiveTableNames, 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
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 String[] getTableNames()
                       throws DataSetException
Not supported.

Specified by:
getTableNames in interface IDataSet
Overrides:
getTableNames in class AbstractDataSet
Throws:
UnsupportedOperationException
DataSetException

getTableMetaData

public ITableMetaData getTableMetaData(String tableName)
                                throws DataSetException
Not supported.

Specified by:
getTableMetaData in interface IDataSet
Overrides:
getTableMetaData in class AbstractDataSet
Throws:
UnsupportedOperationException
NoSuchTableException - if dataset do not contains the specified table
DataSetException

getTable

public ITable getTable(String tableName)
                throws DataSetException
Not supported.

Specified by:
getTable in interface IDataSet
Overrides:
getTable in class AbstractDataSet
Throws:
UnsupportedOperationException
NoSuchTableException - if dataset do not contains the specified table
DataSetException


Copyright © 2002-2012. All Rights Reserved.