Class ComparableFilter

    • Constructor Detail

      • ComparableFilter

        public ComparableFilter​(String field,
                                Object value)
        Instantiates a new Comparable filter.
        Parameters:
        field - the field
        value - the value
    • Method Detail

      • getComparable

        public Comparable getComparable()
        Gets the Comparable value to filter.
        Returns:
        the comparable
      • applyOnIndex

        public abstract List<?> applyOnIndex​(org.dizitart.no2.index.IndexMap indexMap)
        Apply this filter on a nitrite index.
        Parameters:
        indexMap - the index scanner
        Returns:
        the object