public enum ShardSplitMethod extends java.lang.Enum<ShardSplitMethod>
| Modifier and Type | Method and Description |
|---|---|
static ShardSplitMethod |
get(byte aVal) |
static ShardSplitMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShardSplitMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShardSplitMethod HASH
public static final ShardSplitMethod RANGE
public static final ShardSplitMethod LIST
public static final ShardSplitMethod CLONE
public static final ShardSplitMethod SOLO
public static ShardSplitMethod[] values()
for (ShardSplitMethod c : ShardSplitMethod.values()) System.out.println(c);
public static ShardSplitMethod 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 nullpublic static ShardSplitMethod get(byte aVal) throws java.sql.SQLException
java.sql.SQLException