Package | Description |
---|---|
com.sap.cds.ql | |
com.sap.cds.ql.cqn | |
com.sap.cds.reflect |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanFunction |
interface |
Predicate |
Modifier and Type | Method and Description |
---|---|
Predicate |
StructuredType.allMatch(CqnPredicate p) |
Predicate |
Predicate.and(CqnPredicate other,
CqnPredicate... more)
Creates a conjunction of this predicate with other predicates
|
Predicate |
Predicate.and(CqnPredicate other,
CqnPredicate... more)
Creates a conjunction of this predicate with other predicates
|
static Predicate |
CQL.and(CqnPredicate p1,
CqnPredicate p2)
Creates a conjunction of two given predicates
|
Predicate |
StructuredType.anyMatch(CqnPredicate p) |
Predicate |
CqnBuilder.copy(CqnPredicate pred) |
static Predicate |
CQL.copy(CqnPredicate pred)
Creates a copy of the given predicate.
|
Predicate |
CqnBuilder.copy(CqnPredicate pred,
CqnModifier modifier) |
static Predicate |
CQL.copy(CqnPredicate pred,
CqnModifier modifier)
Creates a modified copy of the given predicate.
|
T |
StructuredType.filter(CqnPredicate p) |
RefSegment |
RefSegment.filter(CqnPredicate filter) |
abstract Select<T> |
Select.having(CqnPredicate pred)
Sets the having clause of the select statement.
|
static Predicate |
CqnBuilder.not(CqnPredicate p)
Deprecated.
instead use
CQL.not(com.sap.cds.ql.cqn.CqnPredicate) |
Predicate |
CqnBuilder.QueryBuilderSupport.not(CqnPredicate p) |
static Predicate |
CQL.not(CqnPredicate predicate)
Negates a given
CqnPredicate . |
Predicate |
Predicate.or(CqnPredicate other,
CqnPredicate... more)
Creates a disjunction of this predicate with other predicates
|
Predicate |
Predicate.or(CqnPredicate other,
CqnPredicate... more)
Creates a disjunction of this predicate with other predicates
|
static Predicate |
CQL.or(CqnPredicate p1,
CqnPredicate p2)
Creates a disjunction of two given predicates
|
abstract 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.
|
Update<T> |
Update.where(CqnPredicate predicate)
Sets the where condition of the update statement.
|
abstract Select<T> |
Select.where(CqnPredicate pred)
Sets the where condition of the select statement.
|
Delete<T> |
Delete.where(CqnPredicate predicate)
Sets the where condition of the delete statement.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
StructuredType.allMatch(Function<T,CqnPredicate> p) |
static Predicate |
CQL.and(Iterable<? extends CqnPredicate> predicates)
Creates a conjunction of given predicates
|
Predicate |
StructuredType.anyMatch(Function<T,CqnPredicate> p) |
Predicate |
CqnBuilder.QueryBuilderSupport.connect(CqnConnectivePredicate.Operator operator,
Iterable<? extends CqnPredicate> predicates) |
static Predicate |
CQL.connect(CqnConnectivePredicate.Operator operator,
Iterable<? extends CqnPredicate> predicates)
Creates a logical connection of given predicates
CqnPredicate . |
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 predicates
|
Update<T> |
Update.where(Function<T,CqnPredicate> predicate)
Sets the where condition of the update statement.
|
abstract Select<T> |
Select.where(Function<T,CqnPredicate> pred)
Sets the where condition of the select statement.
|
Delete<T> |
Delete.where(Function<T,CqnPredicate> predicate)
Sets the where condition of the delete statement.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CqnComparisonPredicate |
interface |
CqnConnectivePredicate |
interface |
CqnContainmentTest |
interface |
CqnInPredicate |
interface |
CqnMatchPredicate |
interface |
CqnNegation |
interface |
CqnSearchPredicate |
Modifier and Type | Method and Description |
---|---|
default CqnPredicate |
CqnPredicate.asPredicate() |
default CqnPredicate |
CqnExpression.asPredicate()
Casts this expression to a
CqnPredicate . |
CqnPredicate |
CqnNegation.predicate() |
Modifier and Type | Method and Description |
---|---|
Optional<CqnPredicate> |
CqnReference.Segment.filter() |
Optional<CqnPredicate> |
CqnSelect.having() |
Optional<CqnPredicate> |
CqnJoin.on() |
Optional<CqnPredicate> |
CqnMatchPredicate.predicate() |
List<CqnPredicate> |
CqnConnectivePredicate.predicates() |
Optional<CqnPredicate> |
CqnSelect.search() |
Optional<CqnPredicate> |
CqnUpdate.where() |
Optional<CqnPredicate> |
CqnSelect.where() |
Optional<CqnPredicate> |
CqnDelete.where() |
Modifier and Type | Method and Description |
---|---|
default void |
CqnVisitor.visit(CqnPredicate pred) |
Modifier and Type | Method and Description |
---|---|
Optional<CqnPredicate> |
CdsAssociationType.onCondition()
Returns an
Optional wrapping the on condition of this association. |
Copyright © 2021 SAP. All rights reserved.