java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.common.EventColumnName

public class EventColumnName extends Object
Encapsulates information about Event column names for application and entity tables. Used while encoding/decoding event column names.
  • Constructor Details

    • EventColumnName

      public EventColumnName(String id, Long timestamp, String infoKey)
  • Method Details

    • getId

      public String getId()
    • getTimestamp

      public Long getTimestamp()
    • getInfoKey

      public String getInfoKey()
    • getColumnQualifier

      public byte[] getColumnQualifier()
      Returns:
      a byte array with each components/fields separated by Separator#VALUES. This leads to an event column name of the form eventId=timestamp=infokey. If both timestamp and infokey are null, then a qualifier of the form eventId=timestamp= is returned. If only infokey is null, then a qualifier of the form eventId= is returned. These prefix forms are useful for queries that intend to retrieve more than one specific column name.