Package com.sap.cds.ql.cqn
Interface CqnPredicate
- All Superinterfaces:
CqnExpression
,CqnToken
,CqnValue
,JSONizable
- All Known Subinterfaces:
BooleanFunction
,BooleanValue
,CqnBetweenPredicate
,CqnComparisonPredicate
,CqnConnectivePredicate
,CqnContainmentTest
,CqnEtagPredicate
,CqnExistsSubquery
,CqnInPredicate
,CqnInSubquery
,CqnMatchPredicate
,CqnNegation
,CqnPassThroughSearchPredicate
,CqnSearchPredicate
,CqnSearchTermPredicate
,Predicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault CqnPredicate
Casts this expression to aCqnPredicate
.default boolean
Returnstrue
if this is aCqnPredicate
.Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
accept, asArithmeticExpression, asCaseExpression, asExpression, asNegation, isArithmeticExpression, isCaseExpression, isExpression, isNegation, toJson
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, ofLiteral, ofRef, type
-
Method Details
-
isPredicate
default boolean isPredicate()Description copied from interface:CqnExpression
Returnstrue
if this is aCqnPredicate
.- Specified by:
isPredicate
in interfaceCqnExpression
- Returns:
true
if this is a predicate, otherwisefalse
-
asPredicate
Description copied from interface:CqnExpression
Casts this expression to aCqnPredicate
.- Specified by:
asPredicate
in interfaceCqnExpression
- Returns:
- this as a predicate
-