Package com.sap.cds.ql.cqn
Interface CqnUpdate
- All Superinterfaces:
CqnFilterableStatement,CqnStatement,JSONizable
- All Known Subinterfaces:
Update<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CqnUpdateasUpdate()Casts this CQN statement toCqnUpdate.data()The data to be updated by this statement.elements()Deprecated.elements(CdsStructuredType target) The elements to be updated by this statement.entries()The entries to be updated by this statement.default booleanisUpdate()Returnstrueif this is aCqnUpdatestatement.setters()The setters of this statement.Methods inherited from interface com.sap.cds.ql.cqn.CqnFilterableStatement
whereMethods inherited from interface com.sap.cds.ql.cqn.CqnStatement
asDelete, asInsert, asSelect, asUpsert, hints, isDelete, isInsert, isSelect, isUpsert, refMethods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
data
The data to be updated by this statement.- Returns:
- a reference to this statement's update data
-
entries
The entries to be updated by this statement.- Returns:
- a reference to this statement's update entries
-
setters
The setters of this statement.- Returns:
- a reference to this statement's update setters
-
elements
Deprecated.instead useelements(CdsEntity) -
elements
The elements to be updated by this statement.- Parameters:
target- the target entity- Returns:
- a stream of the elements to be updated
-
isUpdate
default boolean isUpdate()Description copied from interface:CqnStatementReturnstrueif this is aCqnUpdatestatement.- Specified by:
isUpdatein interfaceCqnStatement- Returns:
trueif this is an update statement, otherwisefalse
-
asUpdate
Description copied from interface:CqnStatementCasts this CQN statement toCqnUpdate.- Specified by:
asUpdatein interfaceCqnStatement- Returns:
- this statement as a CqnUpdate
-
elements(CdsEntity)