Enum Class FlowActivityColumnPrefix
java.lang.Object
java.lang.Enum<FlowActivityColumnPrefix>
org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowActivityColumnPrefix
- All Implemented Interfaces:
Serializable,Comparable<FlowActivityColumnPrefix>,Constable,ColumnPrefix<FlowActivityTable>
public enum FlowActivityColumnPrefix
extends Enum<FlowActivityColumnPrefix>
implements ColumnPrefix<FlowActivityTable>
Identifies partially qualified columns for the
FlowActivityTable.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns column family name(as bytes) associated with this column prefix.byte[]byte[]getColumnPrefixBytes(byte[] qualifierPrefix) byte[]getColumnPrefixBytes(String qualifierPrefix) byte[]Get the column prefix in bytes.getCombinedAttrsWithAggr(Attribute... attributes) Return attributed combined with aggregations, if any.Returns value converter implementation associated with this column prefix.booleanReturn true if the cell timestamp needs to be supplemented.static FlowActivityColumnPrefixReturns the enum constant of this class with the specified name.static FlowActivityColumnPrefix[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN_ID
To store run ids of the flows.
-
-
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
-
getColumnPrefix
- Returns:
- the column name value
-
getColumnPrefixBytes
public byte[] getColumnPrefixBytes(byte[] qualifierPrefix) - Specified by:
getColumnPrefixBytesin interfaceColumnPrefix<FlowActivityTable>- Parameters:
qualifierPrefix- Column qualifier or prefix of qualifier.- Returns:
- a byte array encoding column prefix and qualifier/prefix passed.
-
getColumnPrefixBytes
- Specified by:
getColumnPrefixBytesin interfaceColumnPrefix<FlowActivityTable>- Parameters:
qualifierPrefix- Column qualifier or prefix of qualifier.- Returns:
- a byte array encoding column prefix and qualifier/prefix passed.
-
getColumnPrefixBytes
public byte[] getColumnPrefixBytes() -
getColumnFamilyBytes
public byte[] getColumnFamilyBytes()Description copied from interface:ColumnPrefixReturns column family name(as bytes) associated with this column prefix.- Specified by:
getColumnFamilyBytesin interfaceColumnPrefix<FlowActivityTable>- Returns:
- a byte array encoding column family for this prefix.
-
getColumnPrefixInBytes
public byte[] getColumnPrefixInBytes()Description copied from interface:ColumnPrefixGet the column prefix in bytes.- Specified by:
getColumnPrefixInBytesin interfaceColumnPrefix<FlowActivityTable>- Returns:
- column prefix in bytes
-
getValueConverter
Description copied from interface:ColumnPrefixReturns value converter implementation associated with this column prefix.- Specified by:
getValueConverterin interfaceColumnPrefix<FlowActivityTable>- Returns:
- a
ValueConverterimplementation.
-
getCombinedAttrsWithAggr
Description copied from interface:ColumnPrefixReturn attributed combined with aggregations, if any.- Specified by:
getCombinedAttrsWithAggrin interfaceColumnPrefix<FlowActivityTable>- Returns:
- an array of Attributes
-
supplementCellTimeStamp
public boolean supplementCellTimeStamp()Description copied from interface:ColumnPrefixReturn true if the cell timestamp needs to be supplemented.- Specified by:
supplementCellTimeStampin interfaceColumnPrefix<FlowActivityTable>- Returns:
- true if the cell timestamp needs to be supplemented
-
getAttribute
-