你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: