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>

public class FlowRunRowKeyPrefix extends FlowRunRowKey implements RowKeyPrefix<FlowRunRowKey>
Represents a partial rowkey (without the flowRunId) for the flow run table.
  • Constructor Details

    • FlowRunRowKeyPrefix

      public FlowRunRowKeyPrefix(String clusterId, String userId, String flowName)
      Constructs a row key prefix for the flow run table as follows: clusterId!userI!flowName!.
      Parameters:
      clusterId - identifying the cluster
      userId - identifying the user
      flowName - identifying the flow
  • Method Details

    • getRowKeyPrefix

      public byte[] getRowKeyPrefix()
      Description copied from interface: RowKeyPrefix
      Create 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:
      getRowKeyPrefix in interface RowKeyPrefix<FlowRunRowKey>
      Returns:
      a prefix of the following form fist!second!...!last!