public interface CdsService extends Service
CqnService
interface.
The new name captures the intent better and does not create import conflicts with CdsService
For backwards compatibility reasons method names and constants are still maintained here.Modifier and Type | Field and Description |
---|---|
static String |
EVENT_CREATE |
static String |
EVENT_DELETE |
static String |
EVENT_READ |
static String |
EVENT_UPDATE |
static String |
EVENT_UPSERT |
Modifier and Type | Method and Description |
---|---|
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnDelete delete,
Iterable<Map<String,Object>> valueSets)
Executes a
CqnDelete statement as batch with the given named parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnDelete delete,
Map<String,Object> namedValues)
Executes a
CqnDelete statement with named parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnDelete delete,
Object... paramValues)
Executes a
CqnDelete statement with optional positional parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnInsert insert)
Executes a
CqnInsert statement against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnSelect select,
Map<String,Object> namedValues)
Executes a
CqnSelect statement with named parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnSelect select,
Object... paramValues)
Executes a
CqnSelect statement with optional positional parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnUpdate update,
Iterable<Map<String,Object>> valueSets)
Executes a
CqnUpdate statement as batch with the given named parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnUpdate update,
Map<String,Object> namedValues)
Executes a
CqnUpdate statement with named parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnUpdate update,
Object... paramValues)
Executes a
CqnUpdate statement with optional positional parameter values against the CdsService . |
com.sap.cds.Result |
run(com.sap.cds.ql.cqn.CqnUpsert upsert)
Executes a
CqnUpsert statement against the CdsService . |
static final String EVENT_READ
static final String EVENT_CREATE
static final String EVENT_UPDATE
static final String EVENT_DELETE
static final String EVENT_UPSERT
com.sap.cds.Result run(com.sap.cds.ql.cqn.CqnSelect select, Object... paramValues)
CqnSelect
statement with optional positional parameter values against the CdsService
.select
- the CqnSelect
to be executedparamValues
- the optional positional parameter valuesResult
of the querycom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnSelect select, Map<String,Object> namedValues)
CqnSelect
statement with named parameter values against the CdsService
.select
- the CqnSelect
to be executednamedValues
- the named parameter valuesResult
of the querycom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnInsert insert)
CqnInsert
statement against the CdsService
.insert
- the CqnInsert
to be executedResult
of the insertcom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpsert upsert)
CqnUpsert
statement against the CdsService
.upsert
- the CqnUpsert
to be executedResult
of the upsertcom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpdate update, Object... paramValues)
CqnUpdate
statement with optional positional parameter values against the CdsService
.update
- the CqnUpdate
to be executedparamValues
- the optional positional parameter valuesResult
of the updatecom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpdate update, Map<String,Object> namedValues)
CqnUpdate
statement with named parameter values against the CdsService
.update
- the CqnUpdate
to be executednamedValues
- the named parameter valuesResult
of the updatecom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpdate update, Iterable<Map<String,Object>> valueSets)
CqnUpdate
statement as batch with the given named parameter values against the CdsService
.update
- the CqnUpdate
to be executedvalueSets
- the named parameter valuesResult
of the updatecom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnDelete delete, Object... paramValues)
CqnDelete
statement with optional positional parameter values against the CdsService
.delete
- the CqnDelete
to be executedparamValues
- the optional positional parameter valuesResult
of the deletecom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnDelete delete, Map<String,Object> namedValues)
CqnDelete
statement with named parameter values against the CdsService
.delete
- the CqnDelete
to be executednamedValues
- the named parameter valuesResult
of the deletecom.sap.cds.Result run(com.sap.cds.ql.cqn.CqnDelete delete, Iterable<Map<String,Object>> valueSets)
CqnDelete
statement as batch with the given named parameter values against the CdsService
.delete
- the CqnDelete
to be executedvalueSets
- the named parameter valuesResult
of the deleteCopyright © 2021. All rights reserved.