public class ComparisonPredicate extends AbstractPredicate implements CqnComparisonPredicate
CqnComparisonPredicate.Operator
Modifier and Type | Method and Description |
---|---|
static Predicate |
eq(CqnValue lhs,
CqnValue rhs) |
static Predicate |
ge(CqnValue lhs,
CqnValue rhs) |
static Predicate |
gt(CqnValue lhs,
CqnValue rhs) |
static Predicate |
is(CqnValue lhs,
CqnValue rhs) |
static Predicate |
isNot(CqnValue lhs,
CqnValue rhs) |
static Predicate |
le(CqnValue lhs,
CqnValue rhs) |
CqnValue |
left() |
static Predicate |
lt(CqnValue lhs,
CqnValue rhs) |
static Predicate |
ne(CqnValue lhs,
CqnValue rhs) |
Predicate |
not() |
CqnComparisonPredicate.Operator |
operator() |
static Predicate |
pred(CqnValue lhs,
CqnComparisonPredicate.Operator op,
CqnValue rhs) |
CqnValue |
right() |
Stream<CqnToken> |
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, type
public static Predicate pred(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs)
public CqnValue left()
left
in interface CqnComparisonPredicate
public CqnValue right()
right
in interface CqnComparisonPredicate
public CqnComparisonPredicate.Operator operator()
operator
in interface CqnComparisonPredicate
public Predicate not()
not
in interface Predicate
not
in class AbstractPredicate
Copyright © 2021 SAP. All rights reserved.