public static enum Index.IndexState extends java.lang.Enum<Index.IndexState>
Index
.Enum Constant and Description |
---|
BUILDING
Indicates the given
Index is being built and therefore can not
be used to service queries. |
DELETING
Indicates the given
Index is being deleted. |
ERROR
Indicates the given
Index encountered an error in the
BUILDING state. |
SERVING
Indicates the given
Index is ready to service queries. |
Modifier and Type | Method and Description |
---|---|
static Index.IndexState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Index.IndexState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.IndexState BUILDING
Index
is being built and therefore can not
be used to service queries.public static final Index.IndexState SERVING
Index
is ready to service queries.public static final Index.IndexState DELETING
Index
is being deleted.public static final Index.IndexState ERROR
Index
encountered an error in the
BUILDING
state.public static Index.IndexState[] values()
for (Index.IndexState c : Index.IndexState.values()) System.out.println(c);
public static Index.IndexState 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