Interface ITableFilter

All Superinterfaces:
ITableFilterSimple
All Known Implementing Classes:
AbstractTableFilter, DatabaseSequenceFilter, DefaultTableFilter, ExcludeTableFilter, IncludeTableFilter, PrimaryKeyFilter, SequenceTableFilter

public interface ITableFilter extends ITableFilterSimple
Represents a strategy used by FilteredDataSet to exposes only some tables from a dataset.
Since:
Mar 7, 2003
Version:
$Revision$
Author:
Manuel Laflamme
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the table names allowed by this filter from the specified dataset.
    iterator(IDataSet dataSet, boolean reversed)
    Returns iterator of tables allowed by this filter from the specified dataset.

    Methods inherited from interface org.dbunit.dataset.filter.ITableFilterSimple

    accept
  • Method Details

    • getTableNames

      String[] getTableNames(IDataSet dataSet) throws DataSetException
      Returns the table names allowed by this filter from the specified dataset.
      Parameters:
      dataSet - the filtered dataset
      Returns:
      the table names allowed by this filter.
      Throws:
      DataSetException - if retrieving the table names fails.
    • iterator

      ITableIterator iterator(IDataSet dataSet, boolean reversed) throws DataSetException
      Returns iterator of tables allowed by this filter from the specified dataset.
      Parameters:
      dataSet - the filtered dataset
      reversed - true to iterate in reverse order.
      Returns:
      the iterator of tables allowed by this filter.
      Throws:
      DataSetException - if creating the iterator fails.