public class Conjunction extends Connective
CqnConnectivePredicate.Operatorpredicates| 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, tokensand, or, toJson, toString, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptasPredicate, isPredicateasArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation, toJsonas, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofRef, typepublic 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 Predicatenot in class AbstractPredicateprotected CqnToken identityToken()
identityToken in class Connectiveprotected Stream<CqnToken> operatorTokens(CqnPredicate pred)
operatorTokens in class ConnectiveCopyright © 2023 SAP. All rights reserved.