public enum SparkJobState extends Enum<SparkJobState>
Enum Constant and Description |
---|
ERROR |
FAILED |
INITING |
KILLED |
RUNNING |
SUBMITTED |
SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
static SparkJobState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SparkJobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparkJobState SUBMITTED
public static final SparkJobState INITING
public static final SparkJobState RUNNING
public static final SparkJobState SUCCEEDED
public static final SparkJobState KILLED
public static final SparkJobState FAILED
public static final SparkJobState ERROR
public static SparkJobState[] values()
for (SparkJobState c : SparkJobState.values()) System.out.println(c);
public static SparkJobState 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 © 2021 The Apache Software Foundation. All rights reserved.