|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbunit.dataset.AbstractDataSet org.dbunit.dataset.CompositeDataSet
Combines multiple datasets into a single logical dataset.
Constructor Summary | |
CompositeDataSet(IDataSet dataSet)
Creates a composite dataset that combines duplicate tables of the specified dataset. |
|
CompositeDataSet(IDataSet[] dataSets)
Creates a composite dataset that combines specified datasets. |
|
CompositeDataSet(IDataSet[] dataSets,
boolean combine)
Creates a composite dataset that combines specified datasets. |
|
CompositeDataSet(IDataSet dataSet,
boolean combine)
Deprecated. This constructor is useless when the combine parameter is false . Use overload that doesn't have the combine argument. |
|
CompositeDataSet(IDataSet dataSet1,
IDataSet dataSet2)
Creates a composite dataset that combines the two specified datasets. |
|
CompositeDataSet(IDataSet dataSet1,
IDataSet dataSet2,
boolean combine)
Creates a composite dataset that combines the two specified datasets. |
|
CompositeDataSet(ITable[] tables)
Creates a composite dataset that combines tables having identical name. |
Method Summary | |
protected ITableIterator |
createIterator(boolean reversed)
|
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 CompositeDataSet(IDataSet[] dataSets) throws DataSetException
public CompositeDataSet(IDataSet[] dataSets, boolean combine) throws DataSetException
dataSets
- list of datasetscombine
- if true
, tables having the same name are merged into
one table.public CompositeDataSet(IDataSet dataSet1, IDataSet dataSet2) throws DataSetException
public CompositeDataSet(IDataSet dataSet1, IDataSet dataSet2, boolean combine) throws DataSetException
dataSet1
- first datasetdataSet2
- second datasetcombine
- if true
, tables having the same name are merged into
one table.public CompositeDataSet(IDataSet dataSet, boolean combine) throws DataSetException
false
. Use overload that doesn't have the combine argument.
dataSet
- the datasetcombine
- if true
, tables having the same name are merged into
one table.public CompositeDataSet(IDataSet dataSet) throws DataSetException
dataSet
- the datasetpublic CompositeDataSet(ITable[] tables) throws DataSetException
Method Detail |
protected ITableIterator createIterator(boolean reversed) throws DataSetException
createIterator
in class AbstractDataSet
DataSetException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |