Class AppToFlowRowKey
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.apptoflow.AppToFlowRowKey
Represents a row key for the app_flow table, which is the app id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()byte[]Constructs a row key prefix for the app_flow table.static AppToFlowRowKeyparseRowKey(byte[] rowKey) Given the raw row key as bytes, returns the row key as an object.
-
Constructor Details
-
AppToFlowRowKey
-
-
Method Details
-
getAppId
-
getRowKey
public byte[] getRowKey()Constructs a row key prefix for the app_flow table.- Returns:
- byte array with the row key
-
parseRowKey
Given the raw row key as bytes, returns the row key as an object.- Parameters:
rowKey- a rowkey represented as a byte array.- Returns:
- an AppToFlowRowKey object.
-