你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CosmosUserDefinedFunction Class
- java.
lang. Object - com.
azure. cosmos. CosmosUserDefinedFunction
- com.
public class CosmosUserDefinedFunction
The type Cosmos sync user defined function.
Method Summary
Modifier and Type | Method and Description |
---|---|
Cosmos |
delete()
Delete cosmos user defined function. |
String |
getId()
Id string. |
Cosmos |
read()
Read cosmos user defined function. |
Cosmos |
replace(CosmosUserDefinedFunctionProperties udfSettings)
Replace cosmos user defined function. |
Methods inherited from java.lang.Object
Method Details
delete
public CosmosUserDefinedFunctionResponse delete()
Delete cosmos user defined function.
Returns:
the cosmos user defined function
getId
public String getId()
Id string.
Returns:
the string
read
public CosmosUserDefinedFunctionResponse read()
Read cosmos user defined function.
Returns:
the cosmos user defined function response
replace
public CosmosUserDefinedFunctionResponse replace(CosmosUserDefinedFunctionProperties udfSettings)
Replace cosmos user defined function.
Parameters:
udfSettings
- the udf settings
Returns:
the cosmos user defined function response