Class AndRecordFilter

  • All Implemented Interfaces:
    RecordFilter

    public final class AndRecordFilter
    extends Object
    implements RecordFilter
    Provides ability to chain two filters together. Bear in mind that the first one will short circuit the second. Useful if getting a page of already filtered result. i.e and( column("manufacturer", equalTo("Volkswagen")), page(100,50))
    • Method Detail

      • isMatch

        public boolean isMatch()
        Description copied from interface: RecordFilter
        Works out whether the current record can pass through the filter.
        Specified by:
        isMatch in interface RecordFilter
        Returns:
        true if the current value for the column reader matches the predicate.