PartitionKeyRangeStatistics Class
- java.
lang. Object - com.
microsoft. azure. documentdb. JsonSerializable - com.
microsoft. azure. documentdb. PartitionKeyRangeStatistics
- com.
- com.
public class PartitionKeyRangeStatistics
extends JsonSerializable
Constructor Summary
Constructor | Description |
---|---|
PartitionKeyRangeStatistics(String jsonString) |
Initialize a Partition |
PartitionKeyRangeStatistics(JSONObject jsonObject) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getDocumentCount()
Gets the document |
java.lang.String |
getId()
Gets the partition |
java.util.Collection<Partition |
getPartitionKeyStatistics()
Gets the partition |
long |
getSizeInKB()
Gets the size |
Methods inherited from JsonSerializable
Methods inherited from java.lang.Object
Constructor Details
PartitionKeyRangeStatistics
public PartitionKeyRangeStatistics(String jsonString)
Initialize a PartitionKeyRangeStatistics object using the input JSON string.
Parameters:
PartitionKeyRangeStatistics
public PartitionKeyRangeStatistics(JSONObject jsonObject)
Constructor.
Parameters:
Method Details
getDocumentCount
public long getDocumentCount()
Gets the documentCount property.
Returns:
getId
public String getId()
Gets the partitionKeyRangeId property.
Returns:
getPartitionKeyStatistics
public Collection
Gets the partitionKeyStatistics property.
Returns:
getSizeInKB
public long getSizeInKB()
Gets the sizeInKB property.
Returns:
Applies to
Azure SDK for Java