public enum StageState extends Enum<StageState>
| Enum Constant and Description |
|---|
ABORTED
Stage was aborted due to a failure in the query.
|
CANCELED
Stage was canceled by a user.
|
FAILED
Stage execution failed.
|
FINISHED
Stage has finished executing and all output has been consumed.
|
PLANNED
Stage is planned but has not been scheduled yet.
|
RUNNING
Stage is running.
|
SCHEDULED
Stage has been scheduled on nodes and ready to execute, but all tasks are still queued.
|
SCHEDULING
Stage tasks are being scheduled on nodes.
|
SCHEDULING_SPLITS
All stage tasks have been scheduled, but splits are still being scheduled.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<StageState> |
TERMINAL_STAGE_STATES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDone()
Is this a terminal state.
|
boolean |
isFailure()
Is this a non-success terminal state.
|
static StageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StageState PLANNED
public static final StageState SCHEDULING
public static final StageState SCHEDULING_SPLITS
public static final StageState SCHEDULED
public static final StageState RUNNING
public static final StageState FINISHED
public static final StageState CANCELED
public static final StageState ABORTED
public static final StageState FAILED
public static final Set<StageState> TERMINAL_STAGE_STATES
public static StageState[] values()
for (StageState c : StageState.values()) System.out.println(c);
public static StageState 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 boolean isDone()
public boolean isFailure()
Copyright © 2012–2019. All rights reserved.