Enum Class SubApplicationColumnFamily

java.lang.Object
java.lang.Enum<SubApplicationColumnFamily>
org.apache.hadoop.yarn.server.timelineservice.storage.subapplication.SubApplicationColumnFamily
All Implemented Interfaces:
Serializable, Comparable<SubApplicationColumnFamily>, Constable, ColumnFamily<SubApplicationTable>

public enum SubApplicationColumnFamily extends Enum<SubApplicationColumnFamily> implements ColumnFamily<SubApplicationTable>
Represents the sub application table column families.
  • Enum Constant Details

    • INFO

      public static final SubApplicationColumnFamily INFO
      Info column family houses known columns, specifically ones included in columnfamily filters.
    • CONFIGS

      public static final SubApplicationColumnFamily CONFIGS
      Configurations are in a separate column family for two reasons: a) the size of the config values can be very large and b) we expect that config values are often separately accessed from other metrics and info columns.
    • METRICS

      public static final SubApplicationColumnFamily METRICS
      Metrics have a separate column family, because they have a separate TTL.
  • Method Details

    • values

      public static SubApplicationColumnFamily[] 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 SubApplicationColumnFamily 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
    • getBytes

      public byte[] getBytes()
      Description copied from interface: ColumnFamily
      Keep a local copy if you need to avoid overhead of repeated cloning.
      Specified by:
      getBytes in interface ColumnFamily<SubApplicationTable>
      Returns:
      a clone of the byte representation of the column family.