Package | Description |
---|---|
com.sap.cds | |
com.sap.cds.ql |
Modifier and Type | Method and Description |
---|---|
StructuredType<?> |
Row.ref()
Returns a reference to the entity this row originates from.
|
default StructuredType<?> |
Row.to(String path)
Returns a reference from the entity this row originates from along the given
path.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Delete<T extends StructuredType<?>>
The Delete Builder allows to construct CDS QL delete statements, which can be
executed via the
CdsDataStore . |
interface |
Expand<T extends StructuredType<?>> |
class |
Select<T extends StructuredType<?>>
The Select builder allows to construct CDS QL select statements, which can be
executed via the
CdsDataStore . |
interface |
Source<T extends StructuredType<?>> |
interface |
StructuredType<T extends StructuredType<T>> |
interface |
Update<T extends StructuredType<?>>
The Update Builder allows to construct CDS QL update statements, which can be
executed via the
CdsDataStore . |
Modifier and Type | Method and Description |
---|---|
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.delete(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.delete(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<?>> |
CqnBuilder.delete(E entity) |
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Update.entity(Class<R> entity,
Function<R,T> path)
Creates an update statement to update data for a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Update.entity(Class<R> entity,
Function<R,T> path)
Creates an update statement to update data for a specified entity set.
|
static <T extends StructuredType<T>> |
Update.entity(Class<T> entity)
Creates an update statement to update data for a specified entity set.
|
static <T extends StructuredType<?>> |
Update.entity(T entity)
Creates an update statement to update entries from a specified entity set.
|
static <E extends StructuredType<E>> |
Delete.from(Class<E> entity)
Creates a delete statement to delete entries from a specified entity set.
|
static <E extends StructuredType<E>,R extends StructuredType<R>> |
Delete.from(Class<E> entity,
Function<E,R> path)
Creates a delete statement to delete entries from a specified entity set.
|
static <E extends StructuredType<E>,R extends StructuredType<R>> |
Delete.from(Class<E> entity,
Function<E,R> path)
Creates a delete statement to delete entries from a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Select.from(Class<R> entity,
Function<R,T> path)
Creates a select statement to select entries from a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Select.from(Class<R> entity,
Function<R,T> path)
Creates a select statement to select entries from a specified entity set.
|
static <T extends StructuredType<T>> |
Select.from(Class<T> entity)
Creates a select statement to select entries from a specified entity set.
|
static <E extends StructuredType<?>> |
Delete.from(E entity)
Creates a delete statement to delete entries from a specified entity set.
|
static <T extends StructuredType<T>> |
Select.from(StructuredType<T> entity)
Creates a select statement to select entries from a specified entity set.
|
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.insert(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.insert(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<?>> |
CqnBuilder.insert(E entity) |
static <E extends StructuredType<E>> |
Insert.into(Class<E> entity)
Creates an insert statement to insert entries into a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Upsert.into(Class<R> entity,
Function<R,T> path)
Creates an upsert statement to upsert entries into a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Upsert.into(Class<R> entity,
Function<R,T> path)
Creates an upsert statement to upsert entries into a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Insert.into(Class<R> entity,
Function<R,T> path)
Creates an insert statement to insert entries into a specified entity set.
|
static <R extends StructuredType<R>,T extends StructuredType<T>> |
Insert.into(Class<R> entity,
Function<R,T> path)
Creates an insert statement to insert entries into a specified entity set.
|
static <T extends StructuredType<T>> |
Upsert.into(Class<T> entity)
Creates an upsert statement to upsert entries into a specified entity set.
|
static <E extends StructuredType<?>> |
Insert.into(E entity)
Creates an insert statement to insert entries into a specified entity set.
|
static <T extends StructuredType<?>> |
Upsert.into(T entity)
Creates an upsert statement to upsert entries into a specified entity set.
|
<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>,R extends StructuredType<R>> |
CqnBuilder.select(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>> |
CqnBuilder.select(Source<E> source) |
<E extends StructuredType<E>> |
StructuredType.to(String path,
Class<E> type) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.update(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.update(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<?>> |
CqnBuilder.update(E entity) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.upsert(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.upsert(Class<E> entity,
Function<E,R> path) |
<E extends StructuredType<?>> |
CqnBuilder.upsert(E entity) |
Modifier and Type | Method and Description |
---|---|
StructuredType<?> |
CqnBuilder.QueryBuilderSupport.entity(String qualifiedName) |
static StructuredType<?> |
CQL.entity(String qualifiedName)
Creates a
StructuredType representing a CDS entity. |
StructuredType<?> |
CqnBuilder.QueryBuilderSupport.to(List<? extends CqnReference.Segment> segments) |
static StructuredType<?> |
CQL.to(List<? extends CqnReference.Segment> segments)
Creates a
StructuredType representing a path from a CDS entity to
another entity. |
StructuredType<?> |
StructuredType.to(String path) |
StructuredType<?> |
CqnBuilder.QueryBuilderSupport.to(String path) |
static StructuredType<?> |
CQL.to(String path)
Creates a
StructuredType representing a path from a CDS entity to
another entity. |
Modifier and Type | Method and Description |
---|---|
static Delete<StructuredType<?>> |
Delete.copy(CqnDelete delete)
|
static Select<StructuredType<?>> |
Select.copy(CqnSelect select)
|
static Update<StructuredType<?>> |
Update.copy(CqnUpdate update)
|
static Update<StructuredType<?>> |
Update.cqn(String cqnUpdate)
Creates an update statement to update data for a specified entity set.
|
static Select<StructuredType<?>> |
Select.cqn(String cqnSelect)
Creates a select statement from a given CQN String.
|
static Delete<StructuredType<?>> |
Delete.cqn(String cqnDelete)
Creates a delete statement to delete entries from a specified entity set.
|
Delete<StructuredType<?>> |
CqnBuilder.delete(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Delete<StructuredType<?>> |
CqnBuilder.delete(CqnStructuredTypeRef ref) |
Delete<StructuredType<?>> |
CqnParser.delete(String cqn) |
Delete<StructuredType<?>> |
CqnBuilder.delete(String entityName,
UnaryOperator<StructuredType<?>> path) |
static Update<StructuredType<?>> |
Update.entity(CdsEntity entity)
Creates an update statement to update data for a specified entity set.
|
static Update<StructuredType<?>> |
Update.entity(CdsEntity entity,
UnaryOperator<StructuredType<?>> path)
Creates an update statement to update entries of a specified entity set.
|
static Update<StructuredType<?>> |
Update.entity(CqnStructuredTypeRef ref)
Creates an update statement to update entries of a specified entity set.
|
static Update<StructuredType<?>> |
Update.entity(String qualifiedName)
Creates an update statement to update entries of a specified entity set.
|
static Update<StructuredType<?>> |
Update.entity(String qualifiedName,
UnaryOperator<StructuredType<?>> path)
Creates an update statement to update entries of a specified entity set.
|
static Select<StructuredType<?>> |
Select.from(CdsEntity entity)
Creates a select statement to select entries from a specified entity set.
|
static Delete<StructuredType<?>> |
Delete.from(CdsEntity entity)
Creates a delete statement to delete 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 Delete<StructuredType<?>> |
Delete.from(CdsEntity entity,
UnaryOperator<StructuredType<?>> path)
Creates a delete statement to delete entries from a specified entity set.
|
static Select<StructuredType<?>> |
Select.from(CqnSelect subquery)
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 Delete<StructuredType<?>> |
Delete.from(CqnStructuredTypeRef ref)
Creates a delete statement to delete 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 Delete<StructuredType<?>> |
Delete.from(String qualifiedName)
Creates a delete statement to delete 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 Delete<StructuredType<?>> |
Delete.from(String rootEntityName,
UnaryOperator<StructuredType<?>> path)
Creates a delete statement to delete entries from a specified entity set.
|
Select<StructuredType<?>> |
CqnBuilder.select(CdsEntity entity) |
Select<StructuredType<?>> |
CqnBuilder.select(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Select<StructuredType<?>> |
CqnBuilder.select(CqnSelect select) |
Select<StructuredType<?>> |
CqnBuilder.select(CqnStructuredTypeRef ref) |
Select<StructuredType<?>> |
CqnParser.select(String cqn) |
Select<StructuredType<?>> |
CqnBuilder.select(String entityName) |
Select<StructuredType<?>> |
CqnBuilder.select(String entityName,
UnaryOperator<StructuredType<?>> path) |
Update<StructuredType<?>> |
CqnBuilder.update(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Update<StructuredType<?>> |
CqnBuilder.update(CqnStructuredTypeRef ref) |
Update<StructuredType<?>> |
CqnParser.update(String cqn) |
Update<StructuredType<?>> |
CqnBuilder.update(String entityName,
UnaryOperator<StructuredType<?>> path) |
Modifier and Type | Method and Description |
---|---|
static <T extends StructuredType<T>> |
Select.from(StructuredType<T> entity)
Creates a select statement to select entries from a specified entity set.
|
Modifier and Type | Method and Description |
---|---|
Delete<StructuredType<?>> |
CqnBuilder.delete(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Delete<StructuredType<?>> |
CqnBuilder.delete(String entityName,
UnaryOperator<StructuredType<?>> path) |
static Update<StructuredType<?>> |
Update.entity(CdsEntity entity,
UnaryOperator<StructuredType<?>> path)
Creates an update statement to update entries of a specified entity set.
|
static Update<StructuredType<?>> |
Update.entity(String qualifiedName,
UnaryOperator<StructuredType<?>> path)
Creates an update statement to update entries of 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 Delete<StructuredType<?>> |
Delete.from(CdsEntity entity,
UnaryOperator<StructuredType<?>> path)
Creates a delete statement to delete 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 Delete<StructuredType<?>> |
Delete.from(String rootEntityName,
UnaryOperator<StructuredType<?>> path)
Creates a delete statement to delete entries from a specified entity set.
|
Insert |
CqnBuilder.insert(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Insert |
CqnBuilder.insert(String entityName,
UnaryOperator<StructuredType<?>> path) |
static Upsert |
Upsert.into(CdsEntity entity,
UnaryOperator<StructuredType<?>> path)
Creates an upsert statement to upsert entries into a specified entity set.
|
static Upsert |
Upsert.into(String qualifiedName,
UnaryOperator<StructuredType<?>> path)
Creates an upsert statement to upsert entries into a specified entity set.
|
static Insert |
Insert.into(String entityName,
UnaryOperator<StructuredType<?>> path)
Creates an insert statement to insert entries into a specified entity set.
|
Select<StructuredType<?>> |
CqnBuilder.select(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Select<StructuredType<?>> |
CqnBuilder.select(String entityName,
UnaryOperator<StructuredType<?>> path) |
Update<StructuredType<?>> |
CqnBuilder.update(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Update<StructuredType<?>> |
CqnBuilder.update(String entityName,
UnaryOperator<StructuredType<?>> path) |
Upsert |
CqnBuilder.upsert(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
Upsert |
CqnBuilder.upsert(String entityName,
UnaryOperator<StructuredType<?>> path) |
Copyright © 2021 SAP. All rights reserved.