Class ContainsFilterTable

  • All Implemented Interfaces:
    org.dbunit.dataset.ITable

    public class ContainsFilterTable
    extends Object
    implements org.dbunit.dataset.ITable
    • Constructor Detail

      • ContainsFilterTable

        public ContainsFilterTable​(org.dbunit.dataset.ITable actualTable,
                                   org.dbunit.dataset.ITable expectedTable,
                                   List<String> ignoredCols)
                            throws org.dbunit.dataset.DataSetException
        Creates a new ITable where some rows can be filtered out from the original table
        Parameters:
        actualTable - The table to be wrapped
        expectedTable - actualTable will be filtered by this table
        ignoredCols - columns to ignore in comparison
        Throws:
        org.dbunit.dataset.DataSetException - throws DataSetException
    • Method Detail

      • getTableMetaData

        public org.dbunit.dataset.ITableMetaData getTableMetaData()
        Specified by:
        getTableMetaData in interface org.dbunit.dataset.ITable
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface org.dbunit.dataset.ITable
      • getValue

        public Object getValue​(int row,
                               String column)
                        throws org.dbunit.dataset.DataSetException
        Specified by:
        getValue in interface org.dbunit.dataset.ITable
        Throws:
        org.dbunit.dataset.DataSetException