Enum Class ApplicationColumn
java.lang.Object
java.lang.Enum<ApplicationColumn>
org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationColumn
- All Implemented Interfaces:
Serializable,Comparable<ApplicationColumn>,Constable,Column<ApplicationTable>
Identifies fully qualified columns for the
ApplicationTable.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the application was created.The version of the flow that this app belongs to.App id. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns column family name(as bytes) associated with this column.byte[]Get byte representation for this column qualifier.getCombinedAttrsWithAggr(Attribute... attributes) Return attributed combined with aggregations, if any.Returns value converter implementation associated with this column.booleanReturn true if the cell timestamp needs to be supplemented.static ApplicationColumnReturns the enum constant of this class with the specified name.static ApplicationColumn[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID
App id. -
CREATED_TIME
When the application was created. -
FLOW_VERSION
The version of the flow that this app belongs to.
-
-
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
-
getColumnQualifierBytes
public byte[] getColumnQualifierBytes()Description copied from interface:ColumnGet byte representation for this column qualifier.- Specified by:
getColumnQualifierBytesin interfaceColumn<ApplicationTable>- Returns:
- a byte array representing column qualifier.
-
getColumnFamilyBytes
public byte[] getColumnFamilyBytes()Description copied from interface:ColumnReturns column family name(as bytes) associated with this column.- Specified by:
getColumnFamilyBytesin interfaceColumn<ApplicationTable>- Returns:
- a byte array encoding column family for this column qualifier.
-
getValueConverter
Description copied from interface:ColumnReturns value converter implementation associated with this column.- Specified by:
getValueConverterin interfaceColumn<ApplicationTable>- Returns:
- a
ValueConverterimplementation.
-
getCombinedAttrsWithAggr
Description copied from interface:ColumnReturn attributed combined with aggregations, if any.- Specified by:
getCombinedAttrsWithAggrin interfaceColumn<ApplicationTable>- Returns:
- an array of Attributes
-
supplementCellTimestamp
public boolean supplementCellTimestamp()Description copied from interface:ColumnReturn true if the cell timestamp needs to be supplemented.- Specified by:
supplementCellTimestampin interfaceColumn<ApplicationTable>- Returns:
- true if the cell timestamp needs to be supplemented
-