public class CosmosStoredProcedure extends CosmosResource
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<CosmosResponse> |
delete(CosmosRequestOptions options)
Deletes a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosStoredProcedureResponse> |
execute(Object[] procedureParams,
RequestOptions options)
Executes a stored procedure by the stored procedure link.
|
protected String |
getParentLink() |
protected String |
getURIPathSegment() |
reactor.core.publisher.Mono<CosmosStoredProcedureResponse> |
read(RequestOptions options)
Read a stored procedure by the stored procedure link.
|
reactor.core.publisher.Mono<CosmosStoredProcedureResponse> |
replace(CosmosStoredProcedureSettings storedProcedureSettings,
RequestOptions options)
Replaces a stored procedure.
|
getId, setId, validateResourceprotected String getURIPathSegment()
getURIPathSegment in class CosmosResourceprotected String getParentLink()
getParentLink in class CosmosResourcepublic reactor.core.publisher.Mono<CosmosStoredProcedureResponse> read(RequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response with the read stored
procedure.
In case of failure the Mono will error.
options - the request options.Mono containing the single resource response with the read stored procedure or an error.public reactor.core.publisher.Mono<CosmosResponse> delete(CosmosRequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response for the deleted stored procedure.
In case of failure the Mono will error.
options - the request options.Mono containing the single resource response for the deleted stored procedure or an error.public reactor.core.publisher.Mono<CosmosStoredProcedureResponse> execute(Object[] procedureParams, RequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response with the stored procedure response.
In case of failure the Mono will error.
procedureParams - the array of procedure parameter values.options - the request options.Mono containing the single resource response with the stored procedure response or an error.public reactor.core.publisher.Mono<CosmosStoredProcedureResponse> replace(CosmosStoredProcedureSettings storedProcedureSettings, RequestOptions options)
After subscription the operation will be performed.
The Mono upon successful completion will contain a single resource response with the replaced stored procedure.
In case of failure the Mono will error.
storedProcedureSettings - the stored procedure settings.options - the request options.Mono containing the single resource response with the replaced stored procedure or an error.Copyright © 2019. All rights reserved.