public enum PartitionKind extends Enum<PartitionKind>
Enum Constant and Description |
---|
HASH
The Partition of a item is calculated based on the hash value of the PartitionKey.
|
MULTI_HASH
The Partition of a item is calculated based on the hash value of multiple PartitionKeys.
|
RANGE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PartitionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionKind HASH
public static final PartitionKind RANGE
@Beta(value=V4_16_0, warningText="Preview API - subject to change in non-backwards compatible way") public static final PartitionKind MULTI_HASH
public static PartitionKind[] values()
public static PartitionKind 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 nullpublic String toString()
toString
in class Enum<PartitionKind>
Copyright © 2021 Microsoft Corporation. All rights reserved.