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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應