Interface FilterParser<T>

  • Type Parameters:
    T - the parameter type of the generated predicate.
    All Known Implementing Classes:
    BasicFilterParser

    public interface FilterParser<T>
    An interface for parsing the text of a FilterSource and creating a Predicate.
    • Method Detail

      • parse

        java.util.function.Predicate<T> parse​(FilterSource source)
        Parse the filter text.
        Returns:
        a predicate matching the parsed filter text
      • getTerms

        java.util.List<java.lang.String> getTerms()
        Get the individual terms of the parsed predicate.