Package com.sap.cds.ql.cqn
Interface CqnMatchPredicate
-
- All Superinterfaces:
CqnExpression
,CqnPredicate
,CqnToken
,CqnValue
,JSONizable
public interface CqnMatchPredicate extends CqnPredicate
Predicate that tests whether any|all elements of an entity set match a given condition
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CqnMatchPredicate.Quantifier
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(CqnVisitor visitor)
Dispatches the handling of thisCqnMatchPredicate
to a given visitor.Optional<CqnPredicate>
predicate()
The condition to test forCqnMatchPredicate.Quantifier
quantifier()
Whether all or any elements need to fulfill the conditionCqnStructuredTypeRef
ref()
The referenced entity set-
Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation, toJson
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnPredicate
asPredicate, isPredicate
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnValue
as, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofRef, type
-
-
-
-
Method Detail
-
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
default void accept(CqnVisitor visitor)
Dispatches the handling of thisCqnMatchPredicate
to a given visitor. Neither theref
nor filterpredicate
is traversed.- Specified by:
accept
in interfaceCqnExpression
- Specified by:
accept
in interfaceCqnToken
- Parameters:
visitor
- theCqnVisitor
-
-