Class ApplicationRowKey
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationRowKey
- Direct Known Subclasses:
ApplicationRowKeyPrefix
Represents a rowkey for the application table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()byte[]Constructs a row key for the application table as follows:clusterId!userName!flowName!flowRunId!AppId.Constructs a row key for the application table as follows:clusterId!userName!flowName!flowRunId!AppId.static ApplicationRowKeyparseRowKey(byte[] rowKey) Given the raw row key as bytes, returns the row key as an object.static ApplicationRowKeyparseRowKeyFromString(String encodedRowKey) Given the encoded row key as string, returns the row key as an object.
-
Constructor Details
-
ApplicationRowKey
-
-
Method Details
-
getClusterId
-
getUserId
-
getFlowName
-
getFlowRunId
-
getAppId
-
getRowKey
public byte[] getRowKey()Constructs a row key for the application table as follows:clusterId!userName!flowName!flowRunId!AppId.- Returns:
- byte array with the row key
-
parseRowKey
Given the raw row key as bytes, returns the row key as an object.- Parameters:
rowKey- Byte representation of row key.- Returns:
- An ApplicationRowKey object.
-
getRowKeyAsString
Constructs a row key for the application table as follows:clusterId!userName!flowName!flowRunId!AppId.- Returns:
- String representation of row key.
-
parseRowKeyFromString
Given the encoded row key as string, returns the row key as an object.- Parameters:
encodedRowKey- String representation of row key.- Returns:
- A ApplicationRowKey object.
-