CosmosAsyncStoredProcedure Class
- java.
lang. Object - com.
azure. cosmos. CosmosAsyncStoredProcedure
- com.
public class CosmosAsyncStoredProcedure
The type Cosmos async stored procedure.
Method Summary
Modifier and Type | Method and Description |
---|---|
Mono<Cosmos |
delete()
Deletes a stored procedure |
Mono<Cosmos |
delete(CosmosStoredProcedureRequestOptions options)
Deletes a stored procedure |
Mono<Cosmos |
execute(List<Object> procedureParams, CosmosStoredProcedureRequestOptions options)
Executes a stored procedure |
String |
getId()
Get the id of the CosmosAsyncStoredProcedure |
Mono<Cosmos |
read()
Read a stored procedure |
Mono<Cosmos |
read(CosmosStoredProcedureRequestOptions options)
Read a stored procedure |
Mono<Cosmos |
replace(CosmosStoredProcedureProperties storedProcedureProperties)
Replaces a stored procedure. |
Mono<Cosmos |
replace(CosmosStoredProcedureProperties storedProcedureProperties, CosmosStoredProcedureRequestOptions options)
Replaces a stored procedure. |
Methods inherited from java.lang.Object
Method Details
delete
public Mono
Deletes a stored procedure
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.
Returns:
delete
public Mono
Deletes a stored procedure
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.
Parameters:
Returns:
execute
public Mono
Azure SDK for Java