java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.apptoflow.AppToFlowRowKey

public class AppToFlowRowKey extends Object
Represents a row key for the app_flow table, which is the app id.
  • Constructor Details

    • AppToFlowRowKey

      public AppToFlowRowKey(String appId)
  • Method Details

    • getAppId

      public String getAppId()
    • getRowKey

      public byte[] getRowKey()
      Constructs a row key prefix for the app_flow table.
      Returns:
      byte array with the row key
    • parseRowKey

      public static AppToFlowRowKey parseRowKey(byte[] rowKey)
      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.