public enum GraphState extends Enum<GraphState>
LogicalGraphInstance
.Enum Constant and Description |
---|
COMPILED
The instance is ready to be executed.
|
COMPLETE_CANCELED
The instance was canceled while executing.
|
COMPLETE_FAILED
The instance had an error while executing.
|
COMPLETE_SUCCESS
The instance has finished execution.
|
EXECUTING
The instance is currently executing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isComplete()
Returns true if the state corresponds to a "complete" state.
|
abstract JobStatus |
jobStatus()
Returns the job status that corresponds to the given graph status.
|
static GraphState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphState COMPILED
public static final GraphState EXECUTING
public static final GraphState COMPLETE_SUCCESS
public static final GraphState COMPLETE_CANCELED
public static final GraphState COMPLETE_FAILED
public static GraphState[] values()
for (GraphState c : GraphState.values()) System.out.println(c);
public static GraphState 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()
public abstract JobStatus jobStatus()
Copyright © 2020 Actian Corporation. All rights reserved.