Package com.sap.cds.ql.impl
Class UpdateBuilder<T extends StructuredType<?>>
java.lang.Object
com.sap.cds.ql.StatementBuilder<S>
com.sap.cds.ql.impl.FilterableStatementBuilder<T,Update<T>>
com.sap.cds.ql.impl.UpdateBuilder<T>
- All Implemented Interfaces:
JSONizable
,CqnFilterableStatement
,CqnStatement
,CqnUpdate
,FilterableStatement<T,
,Update<T>> Statement<Update<T>>
,Update<T>
public class UpdateBuilder<T extends StructuredType<?>>
extends FilterableStatementBuilder<T,Update<T>>
implements Update<T>
-
Field Summary
Fields inherited from class com.sap.cds.ql.StatementBuilder
hints
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateBuilder<StructuredType<?>>
static UpdateBuilder<StructuredType<?>>
static UpdateBuilder
copyShallow
(CqnUpdate statement) data()
elements()
static UpdateBuilder<StructuredType<?>>
Creates an update statement to update entries of a specified entity set.static UpdateBuilder<StructuredType<?>>
static <T extends StructuredType<?>>
UpdateBuilder<T>entity
(T entity) Creates an update statement to update entries from a specified entity set.entries()
ref()
toJson()
toString()
Methods inherited from class com.sap.cds.ql.impl.FilterableStatementBuilder
byId, byParams, byParams, filter, filter, matching, where, where, where
Methods inherited from class com.sap.cds.ql.StatementBuilder
hint, hints, hints, hints
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sap.cds.ql.cqn.CqnFilterableStatement
where
-
Method Details
-
entity
Creates an update statement to update entries from a specified entity set.- Type Parameters:
T
- the type of the entity set- Parameters:
entity
- the structured type representing the entity set- Returns:
- the update statement
-
entity
-
entity
Creates an update statement to update entries of a specified entity set.- Parameters:
ref
- the ref to the entity- Returns:
- the update statement
-
copy
- Parameters:
update
- the update statement to copy- Returns:
- a copy of the given update statement
-
copy
- Parameters:
update
- the update statement to copymodifier
- the modifier to apply on the update statement- Returns:
- the update statement
-
copyShallow
-
data
- Specified by:
data
in interfaceUpdate<T extends StructuredType<?>>
-
data
- Specified by:
data
in interfaceUpdate<T extends StructuredType<?>>
-
entry
- Specified by:
entry
in interfaceUpdate<T extends StructuredType<?>>
-
entries
- Specified by:
entries
in interfaceUpdate<T extends StructuredType<?>>
-
ref
- Specified by:
ref
in interfaceCqnStatement
-
toJson
- Specified by:
toJson
in interfaceJSONizable
-
toString
- Overrides:
toString
in classStatementBuilder<Update<T extends StructuredType<?>>>
-
data
-
entries
-
elements
-