public class PartitionKey extends Object
| Constructor and Description |
|---|
PartitionKey(Object key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Overrides the Equal operator for object comparisons between two instances of
PartitionKey |
static PartitionKey |
FromJsonString(String jsonString)
Create a new instance of the PartitionKey object from a serialized JSON partition key.
|
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()
public boolean equals(Object other)
PartitionKeyCopyright © 2019. All rights reserved.