public enum ClassBasedShardingAlgorithmStrategyType extends Enum<ClassBasedShardingAlgorithmStrategyType>
| Enum Constant and Description |
|---|
COMPLEX
The sharding strategy is complex.
|
HINT
The sharding strategy is hint.
|
STANDARD
The sharding strategy is standard.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassBasedShardingAlgorithmStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassBasedShardingAlgorithmStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassBasedShardingAlgorithmStrategyType STANDARD
public static final ClassBasedShardingAlgorithmStrategyType COMPLEX
public static final ClassBasedShardingAlgorithmStrategyType HINT
public static ClassBasedShardingAlgorithmStrategyType[] values()
for (ClassBasedShardingAlgorithmStrategyType c : ClassBasedShardingAlgorithmStrategyType.values()) System.out.println(c);
public static ClassBasedShardingAlgorithmStrategyType 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 The Apache Software Foundation. All rights reserved.