public class PartitionKey extends Object
| Constructor and Description |
|---|
PartitionKey(Object key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PartitionKey |
FromJsonString(String jsonString)
Create a new instance of the PartitionKey object from a serialized JSON string.
|
com.microsoft.azure.cosmosdb.internal.routing.PartitionKeyInternal |
getInternalPartitionKey() |
String |
toString()
Serialize the PartitionKey object to a JSON string.
|
public PartitionKey(Object key)
key - the value of the partition key.public static PartitionKey FromJsonString(String jsonString)
jsonString - the JSON string representation of this PartitionKey object.public String toString()
public com.microsoft.azure.cosmosdb.internal.routing.PartitionKeyInternal getInternalPartitionKey()
Copyright © 2018. All rights reserved.