Package com.sap.cds.impl.builder.model
Class MatchPredicate
java.lang.Object
com.sap.cds.impl.builder.model.AbstractPredicate
com.sap.cds.impl.builder.model.MatchPredicate
- All Implemented Interfaces:
JSONizable
,CqnExpression
,CqnMatchPredicate
,CqnPredicate
,CqnToken
,CqnValue
,Predicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.CqnMatchPredicate
CqnMatchPredicate.Quantifier
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatchPredicate
all
(CqnStructuredTypeRef ref, CqnPredicate predicate) static MatchPredicate
any
(CqnStructuredTypeRef ref, CqnPredicate predicate) static MatchPredicate
match
(CqnStructuredTypeRef ref, CqnMatchPredicate.Quantifier quantifier, CqnPredicate predicate) ref()
toJson()
tokens()
Methods inherited from class com.sap.cds.impl.builder.model.AbstractPredicate
and, not, or, toString, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation
Methods inherited from interface com.sap.cds.ql.cqn.CqnMatchPredicate
accept
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 Details
-
all
-
any
-
match
public static MatchPredicate match(CqnStructuredTypeRef ref, CqnMatchPredicate.Quantifier quantifier, CqnPredicate predicate) -
tokens
-
ref
- Specified by:
ref
in interfaceCqnMatchPredicate
-
quantifier
- Specified by:
quantifier
in interfaceCqnMatchPredicate
-
predicate
- Specified by:
predicate
in interfaceCqnMatchPredicate
-
toJson
- Specified by:
toJson
in interfaceCqnExpression
- Specified by:
toJson
in interfaceJSONizable
- Overrides:
toJson
in classAbstractPredicate
-