org.apache.hadoop.yarn.server.timeline
Enum TimelineReader.Field

java.lang.Object
  extended by java.lang.Enum<TimelineReader.Field>
      extended by 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) .


Enum Constant Summary
EVENTS
           
LAST_EVENT_ONLY
           
OTHER_INFO
           
PRIMARY_FILTERS
           
RELATED_ENTITIES
           
 
Method Summary
static TimelineReader.Field valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimelineReader.Field[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.