public class PartitionKeyRange extends Resource
Modifier and Type | Field and Description |
---|---|
static String |
MASTER_PARTITION_KEY_RANGE_ID |
static String |
MAXIMUM_EXCLUSIVE_EFFECTIVE_PARTITION_KEY |
static String |
MINIMUM_INCLUSIVE_EFFECTIVE_PARTITION_KEY |
Constructor and Description |
---|
PartitionKeyRange()
Initialize a partition key range object.
|
PartitionKeyRange(String jsonString)
Initialize a partition key range object from json string.
|
PartitionKeyRange(String id,
String minInclusive,
String maxExclusive) |
PartitionKeyRange(String id,
String minInclusive,
String maxExclusive,
List<String> parents) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMaxExclusive() |
String |
getMinInclusive() |
List<String> |
getParents()
Used internally to indicate the ID of the parent range
|
int |
hashCode() |
void |
setMaxExclusive(String maxExclusive) |
void |
setMinInclusive(String minInclusive) |
com.microsoft.azure.cosmosdb.internal.routing.Range<String> |
toRange() |
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getList, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toString
public static final String MINIMUM_INCLUSIVE_EFFECTIVE_PARTITION_KEY
public static final String MAXIMUM_EXCLUSIVE_EFFECTIVE_PARTITION_KEY
public static final String MASTER_PARTITION_KEY_RANGE_ID
public PartitionKeyRange()
public PartitionKeyRange(String jsonString)
jsonString
- the json string that represents the partition key range
object.public String getMinInclusive()
public void setMinInclusive(String minInclusive)
public String getMaxExclusive()
public void setMaxExclusive(String maxExclusive)
public com.microsoft.azure.cosmosdb.internal.routing.Range<String> toRange()
Copyright © 2019. All rights reserved.