Class FlowRunRowKey
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunRowKey
- Direct Known Subclasses:
FlowRunRowKeyPrefix
Represents a rowkey for the flow run table.
-
Constructor Summary
ConstructorsConstructorDescriptionFlowRunRowKey(String clusterId, String userId, String flowName, Long flowRunId) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Constructs a row key for the entity table as follows: { clusterId!Constructs a row key for the flow run table as follows:clusterId!userId!flowName!Flow Run Id.static FlowRunRowKeyparseRowKey(byte[] rowKey) Given the raw row key as bytes, returns the row key as an object.static FlowRunRowKeyparseRowKeyFromString(String encodedRowKey) Given the encoded row key as string, returns the row key as an object.toString()returns the Flow Key as a verbose String output.
-
Constructor Details
-
FlowRunRowKey
-
-
Method Details
-
getClusterId
-
getUserId
-
getFlowName
-
getFlowRunId
-
getRowKey
public byte[] getRowKey()Constructs a row key for the entity table as follows: { clusterId!userId!flowName!Inverted Flow Run Id}.- 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:
- A FlowRunRowKey object.
-
getRowKeyAsString
Constructs a row key for the flow run table as follows:clusterId!userId!flowName!Flow Run Id.- 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 FlowRunRowKey object.
-
toString
returns the Flow Key as a verbose String output.
-