public enum IndexType extends Enum<IndexType>
Enum Constant and Description |
---|
GLOBAL_SECONDARY_INDEX |
LOCAL_SECONDARY_INDEX |
MAIN_INDEX |
Modifier and Type | Method and Description |
---|---|
static IndexType |
valueOf(int ordinal) |
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType MAIN_INDEX
public static final IndexType LOCAL_SECONDARY_INDEX
public static final IndexType GLOBAL_SECONDARY_INDEX
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 static IndexType valueOf(int ordinal)
Copyright © 2017. All rights reserved.