Package com.sap.cds.ql.cqn
Interface CqnPredicate
-
- All Superinterfaces:
CqnExpression
,CqnToken
,CqnValue
,JSONizable
- All Known Subinterfaces:
BooleanFunction
,CqnComparisonPredicate
,CqnConnectivePredicate
,CqnContainmentTest
,CqnExistsSubquery
,CqnInPredicate
,CqnMatchPredicate
,CqnNegation
,CqnSearchPredicate
,Predicate
public interface CqnPredicate extends CqnExpression
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CqnPredicate
asPredicate()
Casts this expression to aCqnPredicate
.default boolean
isPredicate()
Returnstrue
if this is aCqnPredicate
.-
Methods inherited from interface com.sap.cds.ql.cqn.CqnExpression
accept, asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, 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, ofRef, type
-
-
-
-
Method Detail
-
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
default CqnPredicate asPredicate()
Description copied from interface:CqnExpression
Casts this expression to aCqnPredicate
.- Specified by:
asPredicate
in interfaceCqnExpression
- Returns:
- this as a predicate
-
-