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 CqnPredicateCasts this expression to aCqnPredicate.default booleanReturnstrueif this is aCqnPredicate.Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
accept, asArithmeticExpression, asCaseExpression, asExpression, asNegation, isArithmeticExpression, isCaseExpression, isExpression, isNegation, toJsonMethods 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:CqnExpressionReturnstrueif this is aCqnPredicate.- Specified by:
isPredicatein interfaceCqnExpression- Returns:
trueif this is a predicate, otherwisefalse
-
asPredicate
Description copied from interface:CqnExpressionCasts this expression to aCqnPredicate.- Specified by:
asPredicatein interfaceCqnExpression- Returns:
- this as a predicate
-