public static enum QueryStatus.Status extends Enum<QueryStatus.Status>
Enum Constant and Description |
---|
CANCELED
The canceled.
|
CLOSED
The closed.
|
EXECUTED
The executed.
|
FAILED
The failed.
|
FAILING
This state is when depending on retry policy, either the query moves to QUEUED (in case retries are to be done),
or to FAILED.
|
LAUNCHED
The launched.
|
NEW
The new.
|
QUEUED
The queued.
|
RUNNING
The running.
|
SUCCESSFUL
The successful.
|
Modifier and Type | Method and Description |
---|---|
static QueryStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryStatus.Status NEW
public static final QueryStatus.Status QUEUED
public static final QueryStatus.Status LAUNCHED
public static final QueryStatus.Status RUNNING
public static final QueryStatus.Status EXECUTED
public static final QueryStatus.Status FAILING
public static final QueryStatus.Status SUCCESSFUL
public static final QueryStatus.Status FAILED
public static final QueryStatus.Status CANCELED
public static final QueryStatus.Status CLOSED
public static QueryStatus.Status[] values()
for (QueryStatus.Status c : QueryStatus.Status.values()) System.out.println(c);
public static QueryStatus.Status 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 nullCopyright © 2014–2018 Apache Software Foundation. All rights reserved.