PartitionKeyStatistics Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents statistics of a partition key in the Azure Cosmos DB service.
[Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)]
public sealed class PartitionKeyStatistics
[<Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)>]
type PartitionKeyStatistics = class
Public NotInheritable Class PartitionKeyStatistics
- Inheritance
-
PartitionKeyStatistics
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
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.
Partition |
Gets the partition key in the Azure Cosmos DB service. |
Size |
Gets the size of the partition key in the Azure Cosmos DB service. |
To |
Gets the stringified version of PartitionKeyStatistics object in the Azure Cosmos DB service. |
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: