Class PartitionKeyStatistics
Represents statistics of a partition key in the Azure Cosmos DB service.
public sealed class PartitionKeyStatistics
- Inheritance
-
PartitionKeyStatistics
- Inherited Members
- Extension Methods
Remarks
This is reported based on a sub-sampling of partition keys within the collection and hence these are approximate. If your partition keys are below 1GB of storage, they may not show up in the reported statistics. For usage, please refer to the example in PartitionKeyRangeStatistics.
Constructors
PartitionKeyStatistics()
public PartitionKeyStatistics()
Properties
PartitionKey
Gets the partition key in the Azure Cosmos DB service.
public PartitionKey PartitionKey { get; }
Property Value
SizeInKB
Gets the size of the partition key in the Azure Cosmos DB service.
public long SizeInKB { get; }
Property Value
Methods
ToString()
Gets the stringified version of PartitionKeyStatistics object in the Azure Cosmos DB service.
public override string ToString()