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
Fields -
Method Summary
Modifier and TypeMethodDescriptioncom.sap.cds.ResultExecutes aCqnDeletestatement as batch with the given named parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnDeletestatement with optional positional parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnDeletestatement with named parameter values against theCqnService.com.sap.cds.Resultrun(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsertstatement against theCqnService.com.sap.cds.ResultExecutes aCqnSelectstatement with optional positional parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnSelectstatement with named parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnUpdatestatement as batch with the given named parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnUpdatestatement with optional positional parameter values against theCqnService.com.sap.cds.ResultExecutes aCqnUpdatestatement with named parameter values against theCqnService.com.sap.cds.Resultrun(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsertstatement 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 aCqnSelectstatement with optional positional parameter values against theCqnService.- Parameters:
select- theCqnSelectto be executedparamValues- the optional positional parameter values- Returns:
- the
Resultof the query
-
run
Executes aCqnSelectstatement with named parameter values against theCqnService.- Parameters:
select- theCqnSelectto be executednamedValues- the named parameter values- Returns:
- the
Resultof the query
-
run
com.sap.cds.Result run(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsertstatement against theCqnService.- Parameters:
insert- theCqnInsertto be executed- Returns:
- the
Resultof the insert statement
-
run
com.sap.cds.Result run(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsertstatement against theCqnService.- Parameters:
upsert- theCqnUpsertto be executed- Returns:
- the
Resultof the upsert statement
-
run
Executes aCqnUpdatestatement with optional positional parameter values against theCqnService.- Parameters:
update- theCqnUpdateto be executedparamValues- the optional positional parameter values- Returns:
- the
Resultof the update statement
-
run
Executes aCqnUpdatestatement with named parameter values against theCqnService.- Parameters:
update- theCqnUpdateto be executednamedValues- the named parameter values- Returns:
- the
Resultof the update statement
-
run
Executes aCqnUpdatestatement as batch with the given named parameter values against theCqnService.- Parameters:
update- theCqnUpdateto be executedvalueSets- the named parameter values- Returns:
- the
Resultof the update statement
-
run
Executes aCqnDeletestatement with optional positional parameter values against theCqnService.- Parameters:
delete- theCqnDeleteto be executedparamValues- the optional positional parameter values- Returns:
- the
Resultof the delete statement
-
run
Executes aCqnDeletestatement with named parameter values against theCqnService.- Parameters:
delete- theCqnDeleteto be executednamedValues- the named parameter values- Returns:
- the
Resultof the delete statement
-
run
Executes aCqnDeletestatement as batch with the given named parameter values against theCqnService.- Parameters:
delete- theCqnDeleteto be executedvalueSets- the named parameter values- Returns:
- the
Resultof the delete statement
-