CosmosScripts Class
- java.
lang. Object - com.
azure. cosmos. CosmosScripts
- com.
public class CosmosScripts
The type Cosmos sync scripts.
Method Summary
Methods inherited from java.lang.Object
Method Details
createStoredProcedure
public CosmosStoredProcedureResponse createStoredProcedure(CosmosStoredProcedureProperties properties)
Create stored procedure
Parameters:
Returns:
createStoredProcedure
public CosmosStoredProcedureResponse createStoredProcedure(CosmosStoredProcedureProperties properties, CosmosStoredProcedureRequestOptions options)
Create stored procedure cosmos
Parameters:
Returns:
createTrigger
public CosmosTriggerResponse createTrigger(CosmosTriggerProperties properties)
Create trigger
Parameters:
Returns:
createUserDefinedFunction
public CosmosUserDefinedFunctionResponse createUserDefinedFunction(CosmosUserDefinedFunctionProperties properties)
Create user defined function
Parameters:
Returns:
getStoredProcedure
public CosmosStoredProcedure getStoredProcedure(String id)
Gets stored procedure.
Parameters:
Returns:
getTrigger
public CosmosTrigger getTrigger(String id)
Gets trigger.
Parameters:
Returns:
getUserDefinedFunction
public CosmosUserDefinedFunction getUserDefinedFunction(String id)
Gets user defined function.
Parameters:
Returns:
queryStoredProcedures
public CosmosPagedIterable
Query stored procedures CosmosPagedIterable<T>.
Parameters:
Returns:
queryStoredProcedures
public CosmosPagedIterable
Query stored procedures CosmosPagedIterable<T>.
Parameters:
Returns:
queryTriggers
public CosmosPagedIterable
Query triggers CosmosPagedIterable<T>.
Parameters:
Returns:
queryTriggers
public CosmosPagedIterable
Query triggers CosmosPagedIterable<T>.
Parameters:
Returns:
queryUserDefinedFunctions
public CosmosPagedIterable
Query user defined functions CosmosPagedIterable<T>.
Parameters:
Returns:
queryUserDefinedFunctions
public CosmosPagedIterable
Query user defined functions CosmosPagedIterable<T>.
Parameters:
Returns:
readAllStoredProcedures
public CosmosPagedIterable
Read all stored procedures CosmosPagedIterable<T>.
Returns:
readAllTriggers
readAllUserDefinedFunctions
public CosmosPagedIterable
Read all user defined functions CosmosPagedIterable<T>.
Returns:
Applies to
Azure SDK for Java