Package com.sap.cds.ql
Interface Predicate
- All Superinterfaces:
CqnExpression
,CqnPredicate
,CqnToken
,CqnValue
,JSONizable
- All Known Subinterfaces:
BooleanFunction
,BooleanValue
-
Method Summary
Modifier and TypeMethodDescriptionand
(CqnPredicate other, CqnPredicate... more) Creates a conjunction of this predicate with other predicatesnot()
Negates this predicateor
(CqnPredicate other, CqnPredicate... more) Creates a disjunction of this predicate with other predicatesMethods 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.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
-
and
Creates a conjunction of this predicate with other predicates- Parameters:
other
- other predicate to connect this predicate withmore
- more predicates to connect this predicate with- Returns:
- the conjunction
-
or
Creates a disjunction of this predicate with other predicates- Parameters:
other
- other predicate to connect this predicate withmore
- more predicates to connect this predicate with- Returns:
- the disjunction
-
not
Predicate not()Negates this predicate- Returns:
- the negated predicate
-