Package com.sap.cds.ql
Interface Predicate
- All Superinterfaces:
CqnExpression,CqnPredicate,CqnToken,CqnValue,JSONizable,SelectableValue
- 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, asCaseExpression, asExpression, asNegation, isArithmeticExpression, isCaseExpression, isExpression, isNegation, toJsonMethods inherited from interface com.sap.cds.ql.cqn.CqnPredicate
asPredicate, isPredicateMethods 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, typeMethods inherited from interface com.sap.cds.ql.SelectableValue
as, withoutAlias
-
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
-