@InterfaceAudience.Private @InterfaceStability.Unstable public static enum TaskStatus.Phase extends Enum<TaskStatus.Phase>
Enum Constant and Description |
---|
CLEANUP |
MAP |
REDUCE |
SHUFFLE |
SORT |
STARTING |
Modifier and Type | Method and Description |
---|---|
static TaskStatus.Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus.Phase STARTING
public static final TaskStatus.Phase MAP
public static final TaskStatus.Phase SHUFFLE
public static final TaskStatus.Phase SORT
public static final TaskStatus.Phase REDUCE
public static final TaskStatus.Phase CLEANUP
public static TaskStatus.Phase[] values()
for (TaskStatus.Phase c : TaskStatus.Phase.values()) System.out.println(c);
public static TaskStatus.Phase 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 © 2020 Apache Software Foundation. All rights reserved.