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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java