public static enum ShardingMetadata.ShardingType extends java.lang.Enum<ShardingMetadata.ShardingType>
| Modifier and Type | Method and Description |
|---|---|
static ShardingMetadata.ShardingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShardingMetadata.ShardingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShardingMetadata.ShardingType HASH
public static final ShardingMetadata.ShardingType LIST
public static final ShardingMetadata.ShardingType RANGE
public static final ShardingMetadata.ShardingType DIRECTORY
public static final ShardingMetadata.ShardingType NONE
public static ShardingMetadata.ShardingType[] values()
for (ShardingMetadata.ShardingType c : ShardingMetadata.ShardingType.values()) System.out.println(c);
public static ShardingMetadata.ShardingType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null