public class Disjunction extends Connective
CqnConnectivePredicate.Operator
predicates
Constructor and Description |
---|
Disjunction(CqnPredicate p1,
CqnPredicate p2) |
Disjunction(List<? extends CqnPredicate> predicates) |
Modifier and Type | Method and Description |
---|---|
static Collector<Predicate,?,Predicate> |
_or() |
protected CqnToken |
identityToken() |
Predicate |
not() |
protected Stream<CqnToken> |
operatorTokens(CqnPredicate pred) |
static Collector<CqnPredicate,?,CqnPredicate> |
or() |
Predicate |
or(CqnPredicate... p) |
Predicate |
or(CqnPredicate other,
CqnPredicate... more) |
static CqnPredicate |
or(CqnPredicate p1,
CqnPredicate p2)
Combines two predicates with or, that are optionally given
|
static Predicate |
or(Predicate p1,
Predicate p2) |
create, create, operator, predicates, tokens
and, 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, type
public Disjunction(List<? extends CqnPredicate> predicates)
public Disjunction(CqnPredicate p1, CqnPredicate p2)
public Predicate or(CqnPredicate other, CqnPredicate... more)
or
in interface Predicate
or
in class AbstractPredicate
public Predicate or(CqnPredicate... p)
public Predicate not()
not
in interface Predicate
not
in class AbstractPredicate
public static CqnPredicate or(CqnPredicate p1, CqnPredicate p2)
p1
- the 1st predicatep2
- the 2nd predicatepublic static Collector<CqnPredicate,?,CqnPredicate> or()
protected CqnToken identityToken()
identityToken
in class Connective
protected Stream<CqnToken> operatorTokens(CqnPredicate pred)
operatorTokens
in class Connective
Copyright © 2021 SAP. All rights reserved.