Interface Predicate

All Superinterfaces:
CqnExpression, CqnPredicate, CqnToken, CqnValue, JSONizable
All Known Subinterfaces:
BooleanFunction, BooleanValue

public interface Predicate extends CqnPredicate
  • Method Details

    • and

      Predicate and(CqnPredicate other, CqnPredicate... more)
      Creates a conjunction of this predicate with other predicates
      Parameters:
      other - other predicate to connect this predicate with
      more - more predicates to connect this predicate with
      Returns:
      the conjunction
    • or

      Predicate or(CqnPredicate other, CqnPredicate... more)
      Creates a disjunction of this predicate with other predicates
      Parameters:
      other - other predicate to connect this predicate with
      more - more predicates to connect this predicate with
      Returns:
      the disjunction
    • not

      Predicate not()
      Negates this predicate
      Returns:
      the negated predicate