Package | Description |
---|---|
com.sap.cds.ql |
Modifier and Type | Method and Description |
---|---|
abstract Select<T> |
Select.byId(Object idValue)
Sets 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.
|
Select<T> |
Select.columns(CqnSelectListItem... items)
Sets the projection of the select statement.
|
Select<T> |
Select.columns(Function<T,CqnSelectListItem>... items)
Sets the projection of the select statement.
|
abstract Select<T> |
Select.columns(List<CqnSelectListItem> items)
Sets the projection of the select statement.
|
abstract Select<T> |
Select.columns(Stream<CqnSelectListItem> items)
Sets the projection of the select statement.
|
abstract Select<T> |
Select.columns(String... elements)
Sets the projection of the select statement.
|
static Select<StructuredType<?>> |
Select.copy(CqnSelect select)
|
Select<StructuredType<?>> |
CqnBuilder.copy(CqnSelect select) |
static Select<StructuredType<?>> |
Select.cqn(String cqnSelect)
Creates a select statement from a given CQN String.
|
abstract Select<T> |
Select.distinct()
Specifies that duplicate query results should be eliminated.
|
Select<T> |
Select.excluding(Function<T,CqnSelectListItem>... items)
Sets the exclude list of the select statement.
|
abstract Select<T> |
Select.excluding(List<String> qualifiedNames)
Sets the exclude list of the select statement.
|
Select<T> |
Select.excluding(String... qualifiedNames)
Sets the exclude list of the select statement.
|
static Select<StructuredType<?>> |
Select.from(CdsEntity entity)
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 <E extends StructuredType<E>> |
Select.from(Class<E> entity)
Creates a select statement to select entries from a specified entity set.
|
static <E extends StructuredType<E>,R extends StructuredType<R>> |
Select.from(Class<E> entity,
Function<E,R> path)
Creates a select statement to select entries from a specified entity set.
|
static Select<StructuredType<?>> |
Select.from(String qualifiedName)
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.
|
static <E extends StructuredType<E>> |
Select.from(StructuredType<E> entity)
Creates a select statement to select entries from a specified entity set.
|
Select<T> |
Select.groupBy(CqnElementRef... elements)
Sets the group by clause of the select statement.
|
Select<T> |
Select.groupBy(Function<T,CqnSelectListItem>... items)
Sets the group by clause of the select statement.
|
abstract Select<T> |
Select.groupBy(List<CqnSelectListItem> items)
Sets the group by clause of the select statement.
|
abstract Select<T> |
Select.groupBy(String... elements)
Sets the groupBy clause of the select statement.
|
abstract Select<T> |
Select.having(CqnPredicate pred)
Sets the having clause of the select statement.
|
abstract Select<T> |
Select.having(Function<T,CqnPredicate> pred)
Sets the having clause of the select statement.
|
Select<T> |
Select.limit(Function<T,Value<Integer>> rows)
Sets the limit of the select statement.
|
Select<T> |
Select.limit(Function<T,Value<Integer>> rows,
Function<T,Value<Integer>> offset)
Sets the limit and offset of the select statement.
|
abstract Select<T> |
Select.limit(int rows)
Sets the limit of the select statement.
|
abstract Select<T> |
Select.limit(int rows,
int offset)
Sets the limit and offset of the select statement.
|
abstract Select<T> |
Select.limit(Value<Integer> rows,
Value<Integer> offset)
Sets the limit and offset of the select statement.
|
abstract Select<T> |
Select.matching(Map<String,?> values)
Sets the where condition of the select statement.
|
Select<T> |
Select.orderBy(CqnSortSpecification... sortSpecs)
Sets the orderBy clause of the select statement.
|
Select<T> |
Select.orderBy(Function<T,CqnSortSpecification>... sortSpecs)
Sets the orderBy clause of the select statement.
|
abstract Select<T> |
Select.orderBy(List<CqnSortSpecification> sortSpecs)
Sets the orderBy clause of the select statement.
|
abstract Select<T> |
Select.orderBy(String... elements)
Sets the orderBy clause of the select statement.
|
abstract Select<T> |
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.
|
abstract Select<T> |
Select.search(Function<Searchable,Predicate> pred,
Iterable<String> searchableElements)
Adds a search filter to this select statement, requiring that any searchable
element of the target entity set matches the given search predicate.
|
abstract Select<T> |
Select.search(String searchTerm)
Adds a search filter to this select statement, requiring that any searchable
element of the target entity set matches the given search term
|
abstract Select<T> |
Select.search(String searchTerm,
Iterable<String> searchableElements)
Adds a search filter to this select statement, requiring that any given
searchable element of the target entity set matches the given search term.
|
Select<StructuredType<?>> |
CqnBuilder.select(CdsEntity entity) |
Select<StructuredType<?>> |
CqnBuilder.select(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
<E extends StructuredType<E>> |
CqnBuilder.select(Class<E> entity) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.select(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>> |
CqnBuilder.select(Source<E> source) |
Select<StructuredType<?>> |
CqnParser.select(String cqn) |
Select<StructuredType<?>> |
CqnBuilder.select(String entityName) |
Select<StructuredType<?>> |
CqnBuilder.select(String entityName,
UnaryOperator<StructuredType<?>> path) |
abstract Select<T> |
Select.where(CqnPredicate pred)
Sets the where condition of the select statement.
|
abstract Select<T> |
Select.where(Function<T,CqnPredicate> pred)
Sets the where condition of the select statement.
|
Copyright © 2020 SAP. All rights reserved.