PartitionKeyRangeStatistics Class
- java.
lang. Object - Serializable
- JsonSerializable
- com.
microsoft. azure. documentdb. PartitionKeyRangeStatistics
- com.
public class PartitionKeyRangeStatistics extends JsonSerializable
Constructor Summary
Constructor | Description |
---|---|
PartitionKeyRangeStatistics(JSONObject jsonObject) |
Constructor. |
PartitionKeyRangeStatistics(String jsonString) |
Initialize a PartitionKeyRangeStatistics object using the input JSON string. |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getDocumentCount()
Gets the documentCount property. |
String |
getId()
Gets the partitionKeyRangeId property. |
Collection<Partition |
getPartitionKeyStatistics()
Gets the partitionKeyStatistics property. |
long |
getSizeInKB()
Gets the sizeInKB property. |
Inherited Members
Constructor Details
PartitionKeyRangeStatistics
public PartitionKeyRangeStatistics(JSONObject jsonObject)
Constructor.
Parameters:
PartitionKeyRangeStatistics
public PartitionKeyRangeStatistics(String jsonString)
Initialize a PartitionKeyRangeStatistics object using the input JSON string.
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