java.lang.Object
java.lang.Enum<DomainColumn>
org.apache.hadoop.yarn.server.timelineservice.storage.domain.DomainColumn
All Implemented Interfaces:
Serializable, Comparable<DomainColumn>, Constable, Column<DomainTable>

public enum DomainColumn extends Enum<DomainColumn> implements Column<DomainTable>
Identifies fully qualified columns for the DomainTable.
  • Enum Constant Details

    • CREATED_TIME

      public static final DomainColumn CREATED_TIME
      The created time.
    • DESCRIPTION

      public static final DomainColumn DESCRIPTION
      The description of the domain.
    • MODIFICATION_TIME

      public static final DomainColumn MODIFICATION_TIME
      The modification time.
    • OWNER

      public static final DomainColumn OWNER
      The owner.
    • READERS

      public static final DomainColumn READERS
      The readers.
    • WRITERS

      public static final DomainColumn WRITERS
      The Writers.
  • Method Details

    • values

      public static DomainColumn[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DomainColumn valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getColumnQualifierBytes

      public byte[] getColumnQualifierBytes()
      Description copied from interface: Column
      Get byte representation for this column qualifier.
      Specified by:
      getColumnQualifierBytes in interface Column<DomainTable>
      Returns:
      a byte array representing column qualifier.
    • getColumnFamilyBytes

      public byte[] getColumnFamilyBytes()
      Description copied from interface: Column
      Returns column family name(as bytes) associated with this column.
      Specified by:
      getColumnFamilyBytes in interface Column<DomainTable>
      Returns:
      a byte array encoding column family for this column qualifier.
    • getValueConverter

      public ValueConverter getValueConverter()
      Description copied from interface: Column
      Returns value converter implementation associated with this column.
      Specified by:
      getValueConverter in interface Column<DomainTable>
      Returns:
      a ValueConverter implementation.
    • getCombinedAttrsWithAggr

      public Attribute[] getCombinedAttrsWithAggr(Attribute... attributes)
      Description copied from interface: Column
      Return attributed combined with aggregations, if any.
      Specified by:
      getCombinedAttrsWithAggr in interface Column<DomainTable>
      Returns:
      an array of Attributes
    • supplementCellTimestamp

      public boolean supplementCellTimestamp()
      Description copied from interface: Column
      Return true if the cell timestamp needs to be supplemented.
      Specified by:
      supplementCellTimestamp in interface Column<DomainTable>
      Returns:
      true if the cell timestamp needs to be supplemented