|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dbunit.dataset.AbstractDataSet
org.dbunit.dataset.CachedDataSet
Hold copy of another dataset or a consumed provider content.
| Constructor Summary | |
CachedDataSet()
Default constructor. |
|
CachedDataSet(IDataSet dataSet)
Creates a copy of the specified dataset. |
|
CachedDataSet(IDataSetProducer producer)
Creates a CachedDataSet that syncronously consume the specified producer. |
|
| Method Summary | |
protected ITableIterator |
createIterator(boolean reversed)
|
void |
endDataSet()
Receive notification of the end of a dataset. |
void |
endTable()
Receive notification of the end of a table. |
void |
row(java.lang.Object[] values)
Receive notification of a table row. |
void |
startDataSet()
Receive notification of the beginning of a dataset. |
void |
startTable(ITableMetaData metaData)
Receive notification of the beginning of a table. |
| Methods inherited from class org.dbunit.dataset.AbstractDataSet |
cloneTables, getTable, getTableMetaData, getTableNames, getTables, iterator, reverseIterator, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CachedDataSet()
public CachedDataSet(IDataSet dataSet)
throws DataSetException
public CachedDataSet(IDataSetProducer producer)
throws DataSetException
| Method Detail |
protected ITableIterator createIterator(boolean reversed)
throws DataSetException
createIterator in class AbstractDataSetDataSetException
public void startDataSet()
throws DataSetException
IDataSetConsumer
startDataSet in interface IDataSetConsumerDataSetException
public void endDataSet()
throws DataSetException
IDataSetConsumer
endDataSet in interface IDataSetConsumerDataSetException
public void startTable(ITableMetaData metaData)
throws DataSetException
IDataSetConsumerIDataSetConsumer.endDataSet() event for every startTable
event (even when the table is empty).
startTable in interface IDataSetConsumermetaData - the table metadata
DataSetException
public void endTable()
throws DataSetException
IDataSetConsumer
endTable in interface IDataSetConsumerDataSetException
public void row(java.lang.Object[] values)
throws DataSetException
IDataSetConsumer
row in interface IDataSetConsumervalues - The row values.
DataSetException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||