CosmosUniqueKeyPolicy Interface

Implements

public interface CosmosUniqueKeyPolicy
implements Annotation

Represents the unique key policy configuration for specifying uniqueness constraints on items in the container in the Azure Cosmos DB service.

Method Summary

Modifier and Type Method and Description
abstract CosmosUniqueKey[] uniqueKeys()

Set of unique keys which enforce uniqueness constraint on items in the container in the Azure Cosmos DB service.

Method Details

uniqueKeys

public abstract CosmosUniqueKey[] uniqueKeys()

Set of unique keys which enforce uniqueness constraint on items in the container in the Azure Cosmos DB service.

Returns:

unique keys

Applies to