java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationRowKey
Direct Known Subclasses:
ApplicationRowKeyPrefix

public class ApplicationRowKey extends Object
Represents a rowkey for the application table.
  • Constructor Details

  • Method Details

    • getClusterId

      public String getClusterId()
    • getUserId

      public String getUserId()
    • getFlowName

      public String getFlowName()
    • getFlowRunId

      public Long getFlowRunId()
    • getAppId

      public String 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

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

      public String getRowKeyAsString()
      Constructs a row key for the application table as follows: clusterId!userName!flowName!flowRunId!AppId.
      Returns:
      String representation of row key.
    • parseRowKeyFromString

      public static ApplicationRowKey parseRowKeyFromString(String encodedRowKey)
      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.