Partager via


CosmosUserDefinedFunction Class

  • java.lang.Object
    • com.azure.cosmos.CosmosUserDefinedFunction

public class CosmosUserDefinedFunction

The type Cosmos sync user defined function.

Method Summary

Modifier and Type Method and Description
CosmosUserDefinedFunctionResponse delete()

Delete cosmos user defined function.

String getId()

Id string.

CosmosUserDefinedFunctionResponse read()

Read cosmos user defined function.

CosmosUserDefinedFunctionResponse 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

Applies to