Package com.sap.cds.services.cds
Interface AsyncCqnService
- All Superinterfaces:
Service
The interface defining the asynchronous consumption API of an outboxed
CqnService.
All methods of this interface are non-blocking and return immediately since they are submitted to the outbox
and executed asynchronously.-
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncCqnServiceof(CqnService service, OutboxService outbox) Returns an outboxed instance of the givenCqnServiceas aAsyncCqnService.voidExecutes aCqnDeletestatement as batch with the given named parameter values against theAsyncCqnService.voidExecutes aCqnDeletestatement with optional positional parameter values against theAsyncCqnService.voidExecutes aCqnDeletestatement with named parameter values against theAsyncCqnService.voidrun(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsertstatement against theAsyncCqnService.voidExecutes aCqnUpdatestatement as batch with the given named parameter values against theAsyncCqnService.voidExecutes aCqnUpdatestatement with optional positional parameter values against theAsyncCqnService.voidExecutes aCqnUpdatestatement with named parameter values against theAsyncCqnService.voidrun(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsertstatement against theAsyncCqnService.
-
Method Details
-
of
Returns an outboxed instance of the givenCqnServiceas aAsyncCqnService.- Parameters:
service- theCqnServiceto be outboxedoutbox- theOutboxServiceto be used for outboxing- Returns:
- an outboxed instance of the given
CqnServiceas aAsyncCqnService
-
run
void run(com.sap.cds.ql.cqn.CqnInsert insert) Executes aCqnInsertstatement against theAsyncCqnService.- Parameters:
insert- theCqnInsertto be executed
-
run
void run(com.sap.cds.ql.cqn.CqnUpsert upsert) Executes aCqnUpsertstatement against theAsyncCqnService.- Parameters:
upsert- theCqnUpsertto be executed
-
run
Executes aCqnUpdatestatement with optional positional parameter values against theAsyncCqnService.- Parameters:
update- theCqnUpdateto be executedparamValues- the optional positional parameter values
-
run
Executes aCqnUpdatestatement with named parameter values against theAsyncCqnService.- Parameters:
update- theCqnUpdateto be executednamedValues- the named parameter values
-
run
Executes aCqnUpdatestatement as batch with the given named parameter values against theAsyncCqnService.- Parameters:
update- theCqnUpdateto be executedvalueSets- the named parameter values
-
run
Executes aCqnDeletestatement with optional positional parameter values against theAsyncCqnService.- Parameters:
delete- theCqnDeleteto be executedparamValues- the optional positional parameter values
-
run
Executes aCqnDeletestatement with named parameter values against theAsyncCqnService.- Parameters:
delete- theCqnDeleteto be executednamedValues- the named parameter values
-
run
Executes aCqnDeletestatement as batch with the given named parameter values against theAsyncCqnService.- Parameters:
delete- theCqnDeleteto be executedvalueSets- the named parameter values
-