Class SimpleRecordFilter

  • All Implemented Interfaces:
    RecordFilter

    public class SimpleRecordFilter
    extends Object
    implements RecordFilter
    A simple record filter built from a list of fieldFilter whose criteria must all match to accept a DataRecord.
    • Constructor Detail

      • SimpleRecordFilter

        public SimpleRecordFilter()
        Builds a SimpleRecordFilter. Before any call to the match method, you must use the addFieldFilter method to add each needed field filter.
    • Method Detail

      • addFieldFilter

        public void addFieldFilter​(String fieldName,
                                   FieldFilter fieldFilter)
        Add a new filter on the specified field.