Enum Class TimelineFilter.TimelineFilterType
java.lang.Object
java.lang.Enum<TimelineFilter.TimelineFilterType>
org.apache.hadoop.yarn.server.timelineservice.reader.filter.TimelineFilter.TimelineFilterType
- All Implemented Interfaces:
Serializable,Comparable<TimelineFilter.TimelineFilterType>,Constable
- Enclosing class:
- TimelineFilter
@Private
@Unstable
public static enum TimelineFilter.TimelineFilterType
extends Enum<TimelineFilter.TimelineFilterType>
Lists the different filter types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFilter which is used for key-value comparison.Filter which checks existence of a value.Filter which is used for checking key-value equality.Filter which is used for checking key-multiple values equality.Combines multiple filters.Filter which matches prefix for a config or a metric. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TimelineFilter.TimelineFilterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIST
Combines multiple filters. -
COMPARE
Filter which is used for key-value comparison. -
KEY_VALUE
Filter which is used for checking key-value equality. -
KEY_VALUES
Filter which is used for checking key-multiple values equality. -
PREFIX
Filter which matches prefix for a config or a metric. -
EXISTS
Filter which checks existence of a value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-