你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CosmosStoredProcedure Class
- java.
lang. Object - com.
azure. cosmos. CosmosStoredProcedure
- com.
public class CosmosStoredProcedure
The type Cosmos sync stored procedure.
Constructor Summary
Constructor | Description |
---|---|
CosmosStoredProcedure(String id, CosmosContainer container, CosmosAsyncStoredProcedure storedProcedure) |
Instantiates a new Cosmos sync stored procedure. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Cosmos |
delete()
Delete cosmos stored procedure. |
Cosmos |
execute(List<Object> procedureParams, CosmosStoredProcedureRequestOptions options)
Execute cosmos sync stored procedure. |
String |
getId()
Id string. |
Cosmos |
read()
Read cosmos sync stored procedure. |
Cosmos |
read(CosmosStoredProcedureRequestOptions options)
Read cosmos sync stored procedure. |
Cosmos |
replace(CosmosStoredProcedureProperties storedProcedureProperties)
Replace cosmos sync stored procedure. |
Cosmos |
replace(CosmosStoredProcedureProperties storedProcedureProperties, CosmosStoredProcedureRequestOptions options)
Replace cosmos sync stored procedure. |
Methods inherited from java.lang.Object
Constructor Details
CosmosStoredProcedure
public CosmosStoredProcedure(String id, CosmosContainer container, CosmosAsyncStoredProcedure storedProcedure)
Instantiates a new Cosmos sync stored procedure.
Parameters:
Method Details
delete
public CosmosStoredProcedureResponse delete()
Delete cosmos stored procedure.
Returns:
execute
public CosmosStoredProcedureResponse execute(List