Package com.sap.cds.ql.cqn
Interface CqnMatchPredicate
- All Superinterfaces:
CqnExpression,CqnPredicate,CqnToken,CqnValue,JSONizable
Predicate that tests whether any|all elements of an entity set match a given
condition
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(CqnVisitor visitor) Dispatches the handling of thisCqnMatchPredicateto a given visitor.The condition to test forWhether all or any elements need to fulfill the conditionref()The referenced entity setMethods inherited from interface com.sap.cds.ql.cqn.CqnExpression
asArithmeticExpression, asCaseExpression, asExpression, asNegation, isArithmeticExpression, isCaseExpression, isExpression, isNegation, toJsonMethods inherited from interface com.sap.cds.ql.cqn.CqnPredicate
asPredicate, isPredicateMethods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofLiteral, ofRef, type
-
Method Details
-
ref
CqnStructuredTypeRef ref()The referenced entity set- Returns:
- the referenced entity set
-
predicate
Optional<CqnPredicate> predicate()The condition to test for- Returns:
- the condition to test for
-
quantifier
CqnMatchPredicate.Quantifier quantifier()Whether all or any elements need to fulfill the condition- Returns:
- whether all or any elements need to fulfill the condition
-
accept
Dispatches the handling of thisCqnMatchPredicateto a given visitor. Neither therefnor filterpredicateis traversed.- Specified by:
acceptin interfaceCqnExpression- Specified by:
acceptin interfaceCqnToken- Parameters:
visitor- theCqnVisitor
-