public class PartitionKey extends Object
| Modifier and Type | Field and Description |
|---|---|
static PartitionKey |
None |
| 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.azure.data.cosmos.internal.routing.PartitionKeyInternal |
getInternalPartitionKey() |
String |
toString()
Serialize the PartitionKey object to a JSON string.
|
public static PartitionKey None
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.azure.data.cosmos.internal.routing.PartitionKeyInternal getInternalPartitionKey()
public boolean equals(Object other)
PartitionKeyCopyright © 2019. All rights reserved.