UniqueKeyPolicy 类

定义

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

public class UniqueKeyPolicy extends JsonSerializable
继承
java.lang.Object
Serializable
UniqueKeyPolicy

继承成员

构造函数

UniqueKeyPolicy()
UniqueKeyPolicy(JSONObject jsonObject)

Constructor.

UniqueKeyPolicy(String jsonString)

Constructor.

方法

getUniqueKeys()

Gets or sets collection of UniqueKey that guarantee uniqueness of documents in collection in the Azure Cosmos DB service.

setUniqueKeys(Collection<UniqueKey> uniqueKeys)

适用于