PartitionKeyDefinitionVersion Enum
- java.
lang. Object - java.
lang. Enum<PartitionKeyDefinitionVersion> - com.
microsoft. azure. cosmosdb. PartitionKeyDefinitionVersion
- com.
- java.
public enum PartitionKeyDefinitionVersion
Partitioning version.
Fields
V1 |
Original version of hash partitioning. |
V2 |
Enhanced version of hash partitioning - offers better distribution of long partition keys and uses less storage. This version should be used for any practical purpose, but it is available in newer SDKs only. |
val |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java