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
Executes a stored procedure
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.
Parameters:
Returns:
getId
public String getId()
Get the id of the CosmosAsyncStoredProcedure
Returns:
read
public Mono
Read a stored procedure
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.
Returns:
read
public Mono
Read a stored procedure
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.
Parameters:
Returns:
replace
public Mono
Replaces a stored procedure.
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.
Parameters:
Returns:
replace
public Mono
Replaces a stored procedure.
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.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for