public class Conjunction extends Connective
CqnConnectivePredicate.Operator
predicates
Modifier and Type | Method and Description |
---|---|
static Collector<Predicate,?,Predicate> |
_and() |
static Collector<CqnPredicate,?,CqnPredicate> |
and() |
static CqnPredicate |
and(CqnPredicate p1,
CqnPredicate p2)
Combines two predicates with and, that are optionally given
|
static Optional<CqnPredicate> |
and(Optional<CqnPredicate> p1,
Optional<CqnPredicate> p2) |
static Predicate |
and(Predicate p1,
Predicate p2) |
protected CqnToken |
identityToken() |
Predicate |
not() |
protected Stream<CqnToken> |
operatorTokens(CqnPredicate pred) |
create, operator, predicates, predicatesOf, tokens
and, or, toJson, toString, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
asPredicate, isPredicate
asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation, toJson
as, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofRef, type
public static CqnPredicate and(CqnPredicate p1, CqnPredicate p2)
p1
- the 1st predicatep2
- the 2nd predicatepublic static Collector<CqnPredicate,?,CqnPredicate> and()
public static Optional<CqnPredicate> and(Optional<CqnPredicate> p1, Optional<CqnPredicate> p2)
public Predicate not()
not
in interface Predicate
not
in class AbstractPredicate
protected CqnToken identityToken()
identityToken
in class Connective
protected Stream<CqnToken> operatorTokens(CqnPredicate pred)
operatorTokens
in class Connective
Copyright © 2023 SAP. All rights reserved.