org.apache.hadoop.yarn.server.timeline
Enum TimelineReader.Field
java.lang.Object
java.lang.Enum<TimelineReader.Field>
org.apache.hadoop.yarn.server.timeline.TimelineReader.Field
- All Implemented Interfaces:
- Serializable, Comparable<TimelineReader.Field>
- Enclosing interface:
- TimelineReader
public static enum TimelineReader.Field
- extends Enum<TimelineReader.Field>
Possible fields to retrieve for TimelineReader.getEntities(java.lang.String, java.lang.Long, java.lang.Long, java.lang.Long, java.lang.String, java.lang.Long, org.apache.hadoop.yarn.server.timeline.NameValuePair, java.util.Collection, java.util.EnumSet) and TimelineReader.getEntity(java.lang.String, java.lang.String, java.util.EnumSet)
.
EVENTS
public static final TimelineReader.Field EVENTS
RELATED_ENTITIES
public static final TimelineReader.Field RELATED_ENTITIES
PRIMARY_FILTERS
public static final TimelineReader.Field PRIMARY_FILTERS
OTHER_INFO
public static final TimelineReader.Field OTHER_INFO
LAST_EVENT_ONLY
public static final TimelineReader.Field LAST_EVENT_ONLY
values
public static TimelineReader.Field[] 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 (TimelineReader.Field c : TimelineReader.Field.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TimelineReader.Field 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.