public class UniqueKeyPolicy extends JsonSerializable
Constructor and Description |
---|
UniqueKeyPolicy() |
Modifier and Type | Method and Description |
---|---|
Collection<UniqueKey> |
uniqueKeys()
Gets or sets collection of
UniqueKey that guarantee uniqueness of documents in collection
in the Azure Cosmos DB service. |
UniqueKeyPolicy |
uniqueKeys(List<UniqueKey> uniqueKeys) |
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
public Collection<UniqueKey> uniqueKeys()
UniqueKey
that guarantee uniqueness of documents in collection
in the Azure Cosmos DB service.public UniqueKeyPolicy uniqueKeys(List<UniqueKey> uniqueKeys)
Copyright © 2019. All rights reserved.