Class TableDecoratorDataSet

java.lang.Object
org.dbunit.dataset.AbstractDataSet
org.dbunit.dataset.TableDecoratorDataSet
All Implemented Interfaces:
IDataSet

public class TableDecoratorDataSet extends AbstractDataSet
Decorates a dataset to allow decorating the returned ITables (and ITableMetaDatas, by extension). Intended to be used for things like filtering out columns. Do not use this to filter out entire tables; use FilteredDataSet for that.
Since:
3.0.0
Author:
rcd (rcd AT users.sourceforge.net)
See Also:
  • Constructor Details

    • TableDecoratorDataSet

      public TableDecoratorDataSet(IDataSet dataSet, TableDecoratorDataSet.TableDecoratorFunction decoratorFunction)
      Creates a new TableDecoratorDataSet decorating each table of the given dataset.
      Parameters:
      dataSet - the decorated dataset.
      decoratorFunction - the function applied to each table of the dataset.
  • Method Details