public enum OperatorState extends Enum<OperatorState>
Enum Constant and Description |
---|
COMPILED
The operator is ready to be executed
|
COMPLETE_CANCELED
The operator was cancelled
|
COMPLETE_FAILED_PRIMARY_ERROR
The operator failed and was the primary cause of the failure of the graph
|
COMPLETE_FAILED_SECONDARY_ERROR
The operator failed because it was in a graph that failed
|
COMPLETE_SUCCESS
The operator has completed sucessfully
|
EXECUTING
The operator is currently executing
|
INITIAL
The operator has not been compiled yet, usually because it is waiting for upstream metadata
|
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete()
Returns true if the state corresponds to a "complete" state.
|
static OperatorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorState INITIAL
public static final OperatorState COMPILED
public static final OperatorState EXECUTING
public static final OperatorState COMPLETE_SUCCESS
public static final OperatorState COMPLETE_CANCELED
public static final OperatorState COMPLETE_FAILED_PRIMARY_ERROR
public static final OperatorState COMPLETE_FAILED_SECONDARY_ERROR
public static OperatorState[] values()
for (OperatorState c : OperatorState.values()) System.out.println(c);
public static OperatorState 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 isComplete()
Copyright © 2020 Actian Corporation. All rights reserved.