PartitionKey 类

定义

Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the document is stored in.

public class PartitionKey
继承
java.lang.Object
PartitionKey

构造函数

PartitionKey(final Object key)

Constructor. Create a new instance of the PartitionKey object.

方法

FromJsonString(String jsonString)

Create a new instance of the PartitionKey object from a serialized JSON string.

getInternalPartitionKey()
toString()

Serialize the PartitionKey object to a JSON string.

适用于