Class FlowRunRowKeyPrefix
java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunRowKey
org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunRowKeyPrefix
- All Implemented Interfaces:
RowKeyPrefix<FlowRunRowKey>
Represents a partial rowkey (without the flowRunId) for the flow run table.
-
Constructor Summary
ConstructorsConstructorDescriptionFlowRunRowKeyPrefix(String clusterId, String userId, String flowName) Constructs a row key prefix for the flow run table as follows:clusterId!userI!flowName!. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Create a row key prefix, meaning a partial rowkey that can be used in range scans.Methods inherited from class org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunRowKey
getClusterId, getFlowName, getFlowRunId, getRowKey, getRowKeyAsString, getUserId, parseRowKey, parseRowKeyFromString, toString
-
Constructor Details
-
FlowRunRowKeyPrefix
Constructs a row key prefix for the flow run table as follows:clusterId!userI!flowName!.- Parameters:
clusterId- identifying the clusteruserId- identifying the userflowName- identifying the flow
-
-
Method Details
-
getRowKeyPrefix
public byte[] getRowKeyPrefix()Description copied from interface:RowKeyPrefixCreate a row key prefix, meaning a partial rowkey that can be used in range scans. Which fields are included in the prefix will depend on the constructor of the specific instance that was used. Output depends on which constructor was used.- Specified by:
getRowKeyPrefixin interfaceRowKeyPrefix<FlowRunRowKey>- Returns:
- a prefix of the following form
fist!second!...!last!
-