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
public static PartitionKeyDefinitionVersion[] values()
for (PartitionKeyDefinitionVersion c : PartitionKeyDefinitionVersion.values()) System.out.println(c);
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 © 2019. All rights reserved.