Interface BooleanPredicateBuilder

All Superinterfaces:
SearchPredicateBuilder

public interface BooleanPredicateBuilder extends SearchPredicateBuilder
  • Method Details

    • must

      void must(SearchPredicate clause)
    • should

      void should(SearchPredicate clause)
    • mustNot

      void mustNot(SearchPredicate clause)
    • filter

      void filter(SearchPredicate clause)
    • minimumShouldMatchNumber

      void minimumShouldMatchNumber(int ignoreConstraintCeiling, int matchingClausesNumber)
      Parameters:
      ignoreConstraintCeiling - The maximum number of "should" clauses above which this constraint will cease to be ignored.
      matchingClausesNumber - A definition of the number of "should" clauses that have to match.
    • minimumShouldMatchPercent

      void minimumShouldMatchPercent(int ignoreConstraintCeiling, int matchingClausesPercent)
      Parameters:
      ignoreConstraintCeiling - The maximum number of "should" clauses above which this constraint will cease to be ignored.
      matchingClausesPercent - A definition of the number of "should" clauses that have to match, as a percentage.