Enum Class AggregationOperation
java.lang.Object
java.lang.Enum<AggregationOperation>
org.apache.hadoop.yarn.server.timelineservice.storage.flow.AggregationOperation
- All Implemented Interfaces:
Serializable,Comparable<AggregationOperation>,Constable
Identifies the attributes to be set for puts into the
FlowRunTable.
The numbers used for tagType are prime numbers.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen it ended.When the flow was started.Max value as per the latest timestamp seen for a given app.Min value as per the latest timestamp seen for a given app.The metrics of the flow.application running. -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregationOperationgetAggregationOperation(String aggOpStr) returns the AggregationOperation enum that represents that string.byte[]bytestatic AggregationOperationReturns the enum constant of this class with the specified name.static AggregationOperation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL_MIN
When the flow was started. -
GLOBAL_MAX
When it ended. -
SUM
The metrics of the flow. -
SUM_FINAL
application running. -
LATEST_MIN
Min value as per the latest timestamp seen for a given app. -
LATEST_MAX
Max value as per the latest timestamp seen for a given app.
-
-
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
-
getAttribute
-
getTagType
public byte getTagType() -
getInBytes
public byte[] getInBytes() -
getAggregationOperation
returns the AggregationOperation enum that represents that string.- Parameters:
aggOpStr- Aggregation operation.- Returns:
- the AggregationOperation enum that represents that string
-