Enum Class AppToFlowColumnPrefix
java.lang.Object
java.lang.Enum<AppToFlowColumnPrefix>
org.apache.hadoop.yarn.server.timelineservice.storage.apptoflow.AppToFlowColumnPrefix
- All Implemented Interfaces:
Serializable,Comparable<AppToFlowColumnPrefix>,Constable,ColumnPrefix<AppToFlowTable>
public enum AppToFlowColumnPrefix
extends Enum<AppToFlowColumnPrefix>
implements ColumnPrefix<AppToFlowTable>
Identifies partially qualified columns for the app-to-flow table.
-
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[]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 AppToFlowColumnPrefixReturns the enum constant of this class with the specified name.static AppToFlowColumnPrefix[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLOW_NAME
The flow name. -
FLOW_RUN_ID
The flow run ID. -
USER_ID
The user.
-
-
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
-
getColumnPrefixBytes
- Specified by:
getColumnPrefixBytesin interfaceColumnPrefix<AppToFlowTable>- Parameters:
qualifierPrefix- Column qualifier or prefix of qualifier.- Returns:
- a byte array encoding column prefix and qualifier/prefix passed.
-
getColumnPrefixBytes
public byte[] getColumnPrefixBytes(byte[] qualifierPrefix) - Specified by:
getColumnPrefixBytesin interfaceColumnPrefix<AppToFlowTable>- Parameters:
qualifierPrefix- Column qualifier or prefix of qualifier.- Returns:
- a byte array encoding column prefix and qualifier/prefix passed.
-
getColumnPrefixInBytes
public byte[] getColumnPrefixInBytes()Description copied from interface:ColumnPrefixGet the column prefix in bytes.- Specified by:
getColumnPrefixInBytesin interfaceColumnPrefix<AppToFlowTable>- Returns:
- column prefix in bytes
-
getColumnFamilyBytes
public byte[] getColumnFamilyBytes()Description copied from interface:ColumnPrefixReturns column family name(as bytes) associated with this column prefix.- Specified by:
getColumnFamilyBytesin interfaceColumnPrefix<AppToFlowTable>- Returns:
- a byte array encoding column family for this prefix.
-
getValueConverter
Description copied from interface:ColumnPrefixReturns value converter implementation associated with this column prefix.- Specified by:
getValueConverterin interfaceColumnPrefix<AppToFlowTable>- Returns:
- a
ValueConverterimplementation.
-
getCombinedAttrsWithAggr
Description copied from interface:ColumnPrefixReturn attributed combined with aggregations, if any.- Specified by:
getCombinedAttrsWithAggrin interfaceColumnPrefix<AppToFlowTable>- 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<AppToFlowTable>- Returns:
- true if the cell timestamp needs to be supplemented
-