Uses of Class
com.sap.cds.ql.Select
Packages that use Select
-
Uses of Select in com.sap.cds.ql
Methods in com.sap.cds.ql that return SelectModifier and TypeMethodDescriptionSets the where condition of the select statement, requiring that the value of the single key element of the target entity set is equal to the given idValue.Sets the where condition of the select statement.Select.byParams
(Collection<String> elementRefs) Sets the where condition of the select statement.Select.columns
(Selectable... items) Sets the projection of the select statement.Sets the projection of the select statement.Select.columns
(Function<T, ? extends Selectable>... items) Sets the projection of the select statement.Select.columns
(List<? extends Selectable> items) Sets the projection of the select statement.Select.columns
(Stream<? extends Selectable> items) Sets the projection of the select statement.static Select<StructuredType<?>>
static Select<StructuredType<?>>
Creates a select statement from a given CQN String.Select.distinct()
Specifies that duplicate query results should be eliminated.Sets the exclude list of the select statement.Select.excluding
(Collection<String> qualifiedNames) Sets the exclude list of the select statement.Select.excluding
(Function<T, CqnSelectListValue>... items) Sets the exclude list of the select statement.static Select<StructuredType<?>>
Creates a select statement to select entries from the result of a given subquery.static Select<StructuredType<?>>
Select.from
(CqnStructuredTypeRef ref) Creates a select statement to select entries from a specified entity set.static <T extends StructuredType<T>>
Select<T>Select.from
(StructuredType<T> entity) Creates a select statement to select entries from a specified entity set.static Select<StructuredType<?>>
Creates a select statement to select entries from a specified entity set.static Select<StructuredType<?>>
Select.from
(CdsEntity entity, UnaryOperator<StructuredType<?>> path) Creates a select statement to select entries from a specified entity set.static <R extends StructuredType<R>,
T extends StructuredType<T>>
Select<T>Creates a select statement to select entries from a specified entity set.static <T extends StructuredType<T>>
Select<T>Creates a select statement to select entries from a specified entity set.static Select<StructuredType<?>>
Creates a select statement to select entries from a specified entity set.static Select<StructuredType<?>>
Select.from
(String entityName, UnaryOperator<StructuredType<?>> path) Creates a select statement to select entries from a specified entity set.Sets the group by clause of the select statement.Sets the groupBy clause of the select statement.Sets the group by clause of the select statement.Sets the group by clause of the select statement.Sets the group by clause of the select statement.Select.having
(CqnPredicate pred) Sets the having clause of the select statement.Select.having
(Function<T, CqnPredicate> pred) Sets the having clause of the select statement.Select.inlineCount()
Specifies that the total number of root entities matching this query shall be returned along with the result.Select.limit
(long top) Sets the limit of the select statement.Select.limit
(long top, long skip) Sets the limit and offset of the select statement.Select.lock()
Creates a write lock on the selected rows for a default number of seconds specified by DB so that other queries cannot lock or change the data until current transaction is finished.Select.lock
(int timeout) Creates a write lock on the selected rows so that other queries cannot lock or change the data until current transaction is finished.Select.lock
(CqnLock.Mode mode) Creates a write lock on the selected rows for a default number of seconds specified by DB so that other queries cannot lock or change the data until current transaction is finished.Select.lock
(CqnLock.Mode mode, int timeout) Creates a write lock on the selected rows so that other queries cannot lock or change the data until current transaction is finished.Sets the where condition of the select statement.Select.orderBy
(CqnSortSpecification... sortSpecs) Sets the orderBy clause of the select statement.Sets the orderBy clause of the select statement.Select.orderBy
(Function<T, CqnSortSpecification>... sortSpecs) Sets the orderBy clause of the select statement.Select.orderBy
(List<CqnSortSpecification> sortSpecs) Sets the orderBy clause of the select statement.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.Adds a search filter to this select statement, requiring that any searchable element of the target entity set matches the given search termAdds a search filter to this select statement, requiring that any given searchable element of the target entity set matches the given search term.Select.search
(Function<Searchable, Predicate> pred) Adds a search filter to this select statement, requiring that any searchable element of the target entity set matches the given search predicate.Adds a search filter to this select statement, requiring that any searchable element of the target entity set matches the given search predicate.Select<StructuredType<?>>
Select<StructuredType<?>>
CqnBuilder.select
(CqnStructuredTypeRef ref) <E extends StructuredType<E>>
Select<E>Select<StructuredType<?>>
Select<StructuredType<?>>
CqnBuilder.select
(CdsEntity entity, UnaryOperator<StructuredType<?>> path) <E extends StructuredType<E>>
Select<E><E extends StructuredType<E>,
R extends StructuredType<R>>
Select<R>Select<StructuredType<?>>
Select<StructuredType<?>>
CqnBuilder.select
(String entityName, UnaryOperator<StructuredType<?>> path) Select<StructuredType<?>>
Select.where
(CqnPredicate pred) Sets the where condition of this select statement to a given predicate.Select.where
(Function<T, CqnPredicate> pred) Sets the where condition of this select statement.Method parameters in com.sap.cds.ql with type arguments of type Select -
Uses of Select in com.sap.cds.ql.cqn
Methods in com.sap.cds.ql.cqn with parameters of type SelectModifier and TypeMethodDescriptiondefault CqnPredicate
Override this method to replace anexist
subquery.