Package com.sap.cds.services.cds
Interface CqnService
- All Superinterfaces:
Service
- All Known Subinterfaces:
ApplicationService
,DraftService
,PersistenceService
,RemoteService
The interface defining the consumption API of a
CqnService
.
Such a service is capable of executing CQN queries.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.sap.cds.Result
Executes aCqnDelete
statement as batch with the given named parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnDelete
statement with optional positional parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnDelete
statement with named parameter values against theCqnService
.com.sap.cds.Result
run
(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsert
statement against theCqnService
.com.sap.cds.Result
Executes aCqnSelect
statement with optional positional parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnSelect
statement with named parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnUpdate
statement as batch with the given named parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnUpdate
statement with optional positional parameter values against theCqnService
.com.sap.cds.Result
Executes aCqnUpdate
statement with named parameter values against theCqnService
.com.sap.cds.Result
run
(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsert
statement against theCqnService
.
-
Field Details
-
EVENT_READ
- See Also:
-
EVENT_CREATE
- See Also:
-
EVENT_UPDATE
- See Also:
-
EVENT_DELETE
- See Also:
-
EVENT_UPSERT
- See Also:
-
-
Method Details
-
run
Executes aCqnSelect
statement with optional positional parameter values against theCqnService
.- Parameters:
select
- theCqnSelect
to be executedparamValues
- the optional positional parameter values- Returns:
- the
Result
of the query
-
run
Executes aCqnSelect
statement with named parameter values against theCqnService
.- Parameters:
select
- theCqnSelect
to be executednamedValues
- the named parameter values- Returns:
- the
Result
of the query
-
run
com.sap.cds.Result run(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsert
statement against theCqnService
.- Parameters:
insert
- theCqnInsert
to be executed- Returns:
- the
Result
of the insert
-
run
com.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsert
statement against theCqnService
.- Parameters:
upsert
- theCqnUpsert
to be executed- Returns:
- the
Result
of the upsert
-
run
Executes aCqnUpdate
statement with optional positional parameter values against theCqnService
.- Parameters:
update
- theCqnUpdate
to be executedparamValues
- the optional positional parameter values- Returns:
- the
Result
of the update
-
run
Executes aCqnUpdate
statement with named parameter values against theCqnService
.- Parameters:
update
- theCqnUpdate
to be executednamedValues
- the named parameter values- Returns:
- the
Result
of the update
-
run
Executes aCqnUpdate
statement as batch with the given named parameter values against theCqnService
.- Parameters:
update
- theCqnUpdate
to be executedvalueSets
- the named parameter values- Returns:
- the
Result
of the update
-
run
Executes aCqnDelete
statement with optional positional parameter values against theCqnService
.- Parameters:
delete
- theCqnDelete
to be executedparamValues
- the optional positional parameter values- Returns:
- the
Result
of the delete
-
run
Executes aCqnDelete
statement with named parameter values against theCqnService
.- Parameters:
delete
- theCqnDelete
to be executednamedValues
- the named parameter values- Returns:
- the
Result
of the delete
-
run
Executes aCqnDelete
statement as batch with the given named parameter values against theCqnService
.- Parameters:
delete
- theCqnDelete
to be executedvalueSets
- the named parameter values- Returns:
- the
Result
of the delete
-