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
Azure SDK for Java