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
Cosmos |
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java