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