Uses of Interface
com.sap.cds.ql.cqn.CqnPredicate
-
Packages that use CqnPredicate Package Description com.sap.cds.ql com.sap.cds.ql.cqn com.sap.cds.reflect -
-
Uses of CqnPredicate in com.sap.cds.ql
Subinterfaces of CqnPredicate in com.sap.cds.ql Modifier and Type Interface Description interface
BooleanFunction
interface
Predicate
Methods in com.sap.cds.ql that return types with arguments of type CqnPredicate Modifier and Type Method Description static Collector<CqnPredicate,?,CqnPredicate>
CQL. withAnd()
Returns aCollector
that connects the input predicates with AND.static Collector<CqnPredicate,?,CqnPredicate>
CQL. withAnd()
Returns aCollector
that connects the input predicates with AND.Collector<CqnPredicate,?,CqnPredicate>
CqnBuilder.QueryBuilderSupport. withAnd()
Collector<CqnPredicate,?,CqnPredicate>
CqnBuilder.QueryBuilderSupport. withAnd()
static Collector<CqnPredicate,?,CqnPredicate>
CQL. withOr()
Returns aCollector
that connects the input predicates with OR.static Collector<CqnPredicate,?,CqnPredicate>
CQL. withOr()
Returns aCollector
that connects the input predicates with OR.Collector<CqnPredicate,?,CqnPredicate>
CqnBuilder.QueryBuilderSupport. withOr()
Collector<CqnPredicate,?,CqnPredicate>
CqnBuilder.QueryBuilderSupport. withOr()
Methods in com.sap.cds.ql with parameters of type CqnPredicate Modifier and Type Method Description Predicate
StructuredType. allMatch(CqnPredicate p)
Creates a predicate that tests whether all elements of the entity set referenced by this structured type match a given condition.static Predicate
CQL. and(CqnPredicate p1, CqnPredicate p2)
Creates a conjunction of two given predicatesPredicate
Predicate. and(CqnPredicate other, CqnPredicate... more)
Creates a conjunction of this predicate with other predicatesPredicate
StructuredType. anyMatch(CqnPredicate p)
Creates a predicate that tests whether any instance of the entity set referenced by this structured type matches a given condition.static Predicate
CQL. copy(CqnPredicate pred)
Creates a copy of the given predicate.static Predicate
CQL. copy(CqnPredicate pred, Modifier modifier)
Creates a modified copy of the given predicate.Predicate
CqnBuilder. copy(CqnPredicate pred)
Predicate
CqnBuilder. copy(CqnPredicate pred, Modifier modifier)
RefSegment
RefSegment. filter(CqnPredicate filter)
T
StructuredType. filter(CqnPredicate p)
abstract Select<T>
Select. having(CqnPredicate pred)
Sets the having clause of the select statement.static Predicate
CQL. not(CqnPredicate predicate)
Negates a givenCqnPredicate
.static Predicate
CqnBuilder. not(CqnPredicate p)
Deprecated.instead useCQL.not(com.sap.cds.ql.cqn.CqnPredicate)
Predicate
CqnBuilder.QueryBuilderSupport. not(CqnPredicate p)
static Predicate
CQL. or(CqnPredicate p1, CqnPredicate p2)
Creates a disjunction of two given predicatesPredicate
Predicate. or(CqnPredicate other, CqnPredicate... more)
Creates a disjunction of this predicate with other predicatesabstract Select<T>
Select. search(CqnPredicate pred)
Adds a search filter to this select statement, requiring that any searchable element of the target entity set matches the given search predicate.Delete<T>
Delete. where(CqnPredicate predicate)
Sets the where condition of the delete statement.abstract Select<T>
Select. where(CqnPredicate pred)
Sets the where condition of the select statement.Update<T>
Update. where(CqnPredicate predicate)
Sets the where condition of the update statement.Method parameters in com.sap.cds.ql with type arguments of type CqnPredicate Modifier and Type Method Description Predicate
StructuredType. allMatch(Function<T,CqnPredicate> p)
Creates a predicate that tests whether all elements of the entity set referenced by this structured type match a given condition.static Predicate
CQL. and(Iterable<? extends CqnPredicate> predicates)
Creates a conjunction of given predicatesPredicate
StructuredType. anyMatch(Function<T,CqnPredicate> p)
Creates a predicate that tests whether any instance of the entity set referenced by this structured type matches a given condition.static Predicate
CQL. connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates)
Creates a logical connection of given predicatesCqnPredicate
.Predicate
CqnBuilder.QueryBuilderSupport. connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates)
T
StructuredType. filter(Function<T,CqnPredicate> p)
abstract Select<T>
Select. having(Function<T,CqnPredicate> pred)
Sets the having clause of the select statement.static Predicate
CQL. or(Iterable<? extends CqnPredicate> predicates)
Creates a disjunction of given predicatesDelete<T>
Delete. where(Function<T,CqnPredicate> predicate)
Sets the where condition of the delete statement.abstract Select<T>
Select. where(Function<T,CqnPredicate> pred)
Sets the where condition of the select statement.Update<T>
Update. where(Function<T,CqnPredicate> predicate)
Sets the where condition of the update statement. -
Uses of CqnPredicate in com.sap.cds.ql.cqn
Subinterfaces of CqnPredicate in com.sap.cds.ql.cqn Modifier and Type Interface Description interface
CqnComparisonPredicate
interface
CqnConnectivePredicate
interface
CqnContainmentTest
interface
CqnExistsSubquery
interface
CqnInPredicate
interface
CqnMatchPredicate
Predicate that tests whether any|all elements of an entity set match a given conditioninterface
CqnNegation
interface
CqnSearchPredicate
Methods in com.sap.cds.ql.cqn that return CqnPredicate Modifier and Type Method Description default CqnPredicate
CqnExpression. asPredicate()
Casts this expression to aCqnPredicate
.default CqnPredicate
CqnPredicate. asPredicate()
CqnPredicate
CqnNegation. predicate()
Methods in com.sap.cds.ql.cqn that return types with arguments of type CqnPredicate Modifier and Type Method Description Optional<CqnPredicate>
CqnReference.Segment. filter()
Optional<CqnPredicate>
CqnSelect. having()
Optional<CqnPredicate>
CqnJoin. on()
Optional<CqnPredicate>
CqnMatchPredicate. predicate()
The condition to test forList<CqnPredicate>
CqnConnectivePredicate. predicates()
Optional<CqnPredicate>
CqnSelect. search()
Optional<CqnPredicate>
CqnDelete. where()
The where clause of this delete statement as aCqnPredicate
.Optional<CqnPredicate>
CqnSelect. where()
Optional<CqnPredicate>
CqnUpdate. where()
The where clause of the update statement as aCqnPredicate
.Methods in com.sap.cds.ql.cqn with parameters of type CqnPredicate Modifier and Type Method Description default void
CqnVisitor. visit(CqnPredicate pred)
Called for each traversedpredicate
unless the more specific methodsCqnVisitor.visit(CqnComparisonPredicate)
,CqnVisitor.visit(CqnSearchPredicate)
,CqnVisitor.visit(CqnConnectivePredicate)
,CqnVisitor.visit(CqnInPredicate)
,CqnVisitor.visit(CqnNegation)
,CqnVisitor.visit(CqnExistsSubquery)
,CqnVisitor.visit(CqnMatchPredicate)
orCqnVisitor.visit(CqnMatchPredicate)
are implemented -
Uses of CqnPredicate in com.sap.cds.reflect
Methods in com.sap.cds.reflect that return types with arguments of type CqnPredicate Modifier and Type Method Description Optional<CqnPredicate>
CdsAssociationType. onCondition()
Returns anOptional
wrapping the on condition of this association.
-