Package | Description |
---|---|
com.sap.cds.ql |
Modifier and Type | Method and Description |
---|---|
Update<T> |
Update.byId(Object idValue)
Sets the where condition of the update statement, requiring that the value of
the single key element of the target entity set is equal to the given
idValue.
|
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.
|
Update<T> |
Update.data(Map<String,?> data)
Sets the values to be updated by the update statement.
|
Update<T> |
Update.data(String elementName,
Object value)
Adds an element to be updated to the update statement.
|
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 <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 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 <T extends StructuredType<?>> |
Update.entity(T entity)
Creates an update statement to update entries from a specified entity set.
|
Update<T> |
Update.entries(Iterable<? extends Map<String,?>> entries)
Sets the batch data to be updated by the update statement.
|
Update<T> |
Update.matching(Map<String,?> values)
Sets the where condition of the update statement.
|
Update<StructuredType<?>> |
CqnBuilder.update(CdsEntity entity,
UnaryOperator<StructuredType<?>> path) |
<E extends StructuredType<E>,R extends StructuredType<R>> |
CqnBuilder.update(Class<E> entity,
Function<E,R> path) |
Update<StructuredType<?>> |
CqnBuilder.update(CqnStructuredTypeRef ref) |
<E extends StructuredType<?>> |
CqnBuilder.update(E entity) |
Update<StructuredType<?>> |
CqnParser.update(String cqn) |
Update<StructuredType<?>> |
CqnBuilder.update(String entityName,
UnaryOperator<StructuredType<?>> path) |
Update<T> |
Update.where(CqnPredicate predicate)
Sets the where condition of the update statement.
|
Update<T> |
Update.where(Function<T,CqnPredicate> predicate)
Sets the where condition of the update statement.
|
Copyright © 2021 SAP. All rights reserved.