Package com.azure.data.cosmos.sync
Class CosmosSyncUserDefinedFunction
- java.lang.Object
-
- com.azure.data.cosmos.sync.CosmosSyncUserDefinedFunction
-
public class CosmosSyncUserDefinedFunction extends Object
The type Cosmos sync user defined function.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosmosSyncResponse
delete()
Delete cosmos user defined function.String
id()
Id string.CosmosSyncUserDefinedFunctionResponse
read()
Read cosmos user defined function.CosmosSyncUserDefinedFunctionResponse
replace(CosmosUserDefinedFunctionProperties udfSettings)
Replace cosmos user defined function.
-
-
-
Method Detail
-
id
public String id()
Id string.- Returns:
- the string
-
read
public CosmosSyncUserDefinedFunctionResponse read() throws CosmosClientException
Read cosmos user defined function.- Returns:
- the cosmos sync user defined function response
- Throws:
CosmosClientException
- the cosmos client exception
-
replace
public CosmosSyncUserDefinedFunctionResponse replace(CosmosUserDefinedFunctionProperties udfSettings) throws CosmosClientException
Replace cosmos user defined function.- Parameters:
udfSettings
- the udf settings- Returns:
- the cosmos sync user defined function response
- Throws:
CosmosClientException
- the cosmos client exception
-
delete
public CosmosSyncResponse delete() throws CosmosClientException
Delete cosmos user defined function.- Returns:
- the cosmos sync response
- Throws:
CosmosClientException
- the cosmos client exception
-
-