|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QueryState>
org.apache.blur.thrift.generated.QueryState
public enum QueryState
The state of a query. | |
RUNNING | Query is running. |
INTERRUPTED | Query has been interrupted. |
COMPLETE | Query is complete. |
Enum Constant Summary | |
---|---|
BACK_PRESSURE_INTERRUPTED
|
|
COMPLETE
|
|
INTERRUPTED
|
|
RUNNING
|
Method Summary | |
---|---|
static QueryState |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static QueryState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueryState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QueryState RUNNING
public static final QueryState INTERRUPTED
public static final QueryState COMPLETE
public static final QueryState BACK_PRESSURE_INTERRUPTED
Method Detail |
---|
public static QueryState[] values()
for (QueryState c : QueryState.values()) System.out.println(c);
public static QueryState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface TEnum
public static QueryState findByValue(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |