Package com.sap.cds.ql.cqn
Interface CqnUpsert
-
- All Superinterfaces:
CqnStatement
,CqnXsert
,JSONizable
- All Known Subinterfaces:
Upsert
public interface CqnUpsert extends CqnXsert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sap.cds.ql.cqn.CqnXsert
CqnXsert.Kind
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default CqnUpsert
asUpsert()
Casts this CQN statement toCqnUpsert
.List<Map<String,Object>>
entries()
The entries to be upserted by this statement.default CqnXsert.Kind
getKind()
Deprecated.default boolean
isUpsert()
Returnstrue
if this is aCqnUpsert
statement.-
Methods inherited from interface com.sap.cds.ql.cqn.CqnStatement
asDelete, asInsert, asSelect, asUpdate, hints, isDelete, isInsert, isSelect, isUpdate, ref
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
isUpsert
default boolean isUpsert()
Description copied from interface:CqnStatement
Returnstrue
if this is aCqnUpsert
statement.- Specified by:
isUpsert
in interfaceCqnStatement
- Returns:
true
if this is an upsert statement, otherwisefalse
-
asUpsert
default CqnUpsert asUpsert()
Description copied from interface:CqnStatement
Casts this CQN statement toCqnUpsert
.- Specified by:
asUpsert
in interfaceCqnStatement
- Returns:
- this statement as a CqnUpsert
-
getKind
@Deprecated default CqnXsert.Kind getKind()
Deprecated.
-
-