Interface CqnConnectivePredicate

All Superinterfaces:
CqnExpression, CqnPredicate, CqnToken, CqnValue, JSONizable

public interface CqnConnectivePredicate extends CqnPredicate
A predicate that connects multiple predicates with a logical operator (AND/OR).
  • Method Details

    • predicates

      List<CqnPredicate> predicates()
      Returns:
      the connected predicates
    • operator

      Returns:
      the logical operator (AND/OR) of the connective
    • accept

      default void accept(CqnVisitor visitor)
      Description copied from interface: CqnToken
      Traverses the expression tree represented by this token with a given visitor. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children's accept methods. Afterwards this token is passed to the visitor's visit method specific for this token's type.
      Specified by:
      accept in interface CqnExpression
      Specified by:
      accept in interface CqnToken
      Parameters:
      visitor - the CqnVisitor