public class MatchPredicate extends AbstractPredicate implements CqnMatchPredicate
CqnMatchPredicate.Quantifier
Modifier and Type | Method and Description |
---|---|
static MatchPredicate |
all(CqnStructuredTypeRef ref,
CqnPredicate predicate) |
static MatchPredicate |
any(CqnStructuredTypeRef ref,
CqnPredicate predicate) |
Optional<CqnPredicate> |
predicate() |
CqnMatchPredicate.Quantifier |
quantifier() |
CqnStructuredTypeRef |
ref() |
String |
toJson() |
Stream<CqnToken> |
tokens() |
and, not, or, toString, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept
asPredicate, isPredicate
asArithmeticExpression, asExpression, asNegation, isArithmeticExpression, isExpression, isNegation
as, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, type
public static MatchPredicate all(CqnStructuredTypeRef ref, CqnPredicate predicate)
public static MatchPredicate any(CqnStructuredTypeRef ref, CqnPredicate predicate)
public CqnStructuredTypeRef ref()
ref
in interface CqnMatchPredicate
public CqnMatchPredicate.Quantifier quantifier()
quantifier
in interface CqnMatchPredicate
public Optional<CqnPredicate> predicate()
predicate
in interface CqnMatchPredicate
public String toJson()
toJson
in interface JSONizable
toJson
in interface CqnExpression
toJson
in class AbstractPredicate
Copyright © 2021 SAP. All rights reserved.