Package com.sap.cds.ql.cqn
Interface CqnUpdate
- All Superinterfaces:
CqnFilterableStatement
,CqnStatement
,JSONizable
- All Known Subinterfaces:
Update<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CqnUpdate
asUpdate()
Casts this CQN statement toCqnUpdate
.data()
The data to be updated by this statement.elements()
The elements to be updated by this statement.entries()
The entries to be updated by this statement.default boolean
isUpdate()
Returnstrue
if this is aCqnUpdate
statement.Methods inherited from interface com.sap.cds.ql.cqn.CqnFilterableStatement
where
Methods inherited from interface com.sap.cds.ql.cqn.CqnStatement
asDelete, asInsert, asSelect, asUpsert, hints, isDelete, isInsert, isSelect, isUpsert, ref
Methods 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
-
elements
The elements to be updated by this statement.- Returns:
- a stream of the elements to be updated
-
isUpdate
default boolean isUpdate()Description copied from interface:CqnStatement
Returnstrue
if this is aCqnUpdate
statement.- Specified by:
isUpdate
in interfaceCqnStatement
- Returns:
true
if this is an update statement, otherwisefalse
-
asUpdate
Description copied from interface:CqnStatement
Casts this CQN statement toCqnUpdate
.- Specified by:
asUpdate
in interfaceCqnStatement
- Returns:
- this statement as a CqnUpdate
-