public static enum QueryResponse.Status extends java.lang.Enum<QueryResponse.Status>
Enum Constant and Description |
---|
FAILED
status indicating that query processing failed.
|
SUCCESS
status indicating that query request was successfully processed
|
Modifier and Type | Method and Description |
---|---|
static QueryResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryResponse.Status SUCCESS
public static final QueryResponse.Status FAILED
public static QueryResponse.Status[] values()
for (QueryResponse.Status c : QueryResponse.Status.values()) System.out.println(c);
public static QueryResponse.Status 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