org.apache.tez.dag.history.ats
Enum EntityTypes
java.lang.Object
java.lang.Enum<EntityTypes>
org.apache.tez.dag.history.ats.EntityTypes
- All Implemented Interfaces:
- Serializable, Comparable<EntityTypes>
public enum EntityTypes
- extends Enum<EntityTypes>
|
Method Summary |
static EntityTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EntityTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
TEZ_APPLICATION_ATTEMPT
public static final EntityTypes TEZ_APPLICATION_ATTEMPT
TEZ_CONTAINER_ID
public static final EntityTypes TEZ_CONTAINER_ID
TEZ_DAG_ID
public static final EntityTypes TEZ_DAG_ID
TEZ_VERTEX_ID
public static final EntityTypes TEZ_VERTEX_ID
TEZ_TASK_ID
public static final EntityTypes TEZ_TASK_ID
TEZ_TASK_ATTEMPT_ID
public static final EntityTypes TEZ_TASK_ATTEMPT_ID
values
public static EntityTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EntityTypes c : EntityTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EntityTypes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2014 Apache Software Foundation. All rights reserved.