Class IndexScanFilter

java.lang.Object
org.dizitart.no2.filters.IndexScanFilter
All Implemented Interfaces:
Filter

public class IndexScanFilter extends Object implements Filter
Represents a set of filter which can be applied on an index.
Since:
4.0
Author:
Anindya Chatterjee
  • Constructor Details

    • IndexScanFilter

      public IndexScanFilter(Collection<ComparableFilter> filters)
      Instantiates a new Index scan filter.
      Parameters:
      filters - the filters
  • Method Details

    • apply

      public boolean apply(Pair<NitriteId,Document> element)
      Description copied from interface: Filter
      Applies the filter to the given element.
      Specified by:
      apply in interface Filter
      Parameters:
      element - the element to apply the filter to.
      Returns:
      true if the element matches the filter, false otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFilters

      public List<ComparableFilter> getFilters()