PartitionKeyDefinitionVersion Enum

  • java.lang.Object
    • java.lang.Enum<PartitionKeyDefinitionVersion>
      • com.microsoft.azure.cosmosdb.PartitionKeyDefinitionVersion

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