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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java