public static enum TimelineReader.Field extends Enum<TimelineReader.Field>
TimelineReader.getEntities(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineEntityFilters, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve)
and
TimelineReader.getEntity(org.apache.hadoop.yarn.server.timelineservice.reader.TimelineReaderContext, org.apache.hadoop.yarn.server.timelineservice.reader.TimelineDataToRetrieve)
.Enum Constant and Description |
---|
ALL |
CONFIGS |
EVENTS |
INFO |
IS_RELATED_TO |
METRICS |
RELATES_TO |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final TimelineReader.Field ALL
public static final TimelineReader.Field EVENTS
public static final TimelineReader.Field INFO
public static final TimelineReader.Field METRICS
public static final TimelineReader.Field CONFIGS
public static final TimelineReader.Field RELATES_TO
public static final TimelineReader.Field IS_RELATED_TO
public static TimelineReader.Field[] values()
for (TimelineReader.Field c : TimelineReader.Field.values()) System.out.println(c);
public static TimelineReader.Field 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–2022 Apache Software Foundation. All rights reserved.