public enum PartitionKeyDefinitionVersion extends Enum<PartitionKeyDefinitionVersion>
Enum Constant and Description |
---|
V1
Original version of hash partitioning.
|
V2
Enhanced version of hash partitioning - offers better distribution of long partition keys and uses less storage.
|
Modifier and Type | Method and Description |
---|---|
static PartitionKeyDefinitionVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionKeyDefinitionVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionKeyDefinitionVersion V1
public static final PartitionKeyDefinitionVersion V2
This version should be used for any practical purpose, but it is available in newer SDKs only.
public static PartitionKeyDefinitionVersion[] values()
public static PartitionKeyDefinitionVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Microsoft Corporation. All rights reserved.