Enum Class ApplicationColumnFamily
java.lang.Object
java.lang.Enum<ApplicationColumnFamily>
org.apache.hadoop.yarn.server.timelineservice.storage.application.ApplicationColumnFamily
- All Implemented Interfaces:
Serializable,Comparable<ApplicationColumnFamily>,Constable,ColumnFamily<ApplicationTable>
public enum ApplicationColumnFamily
extends Enum<ApplicationColumnFamily>
implements ColumnFamily<ApplicationTable>
Represents the application table column families.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConfigurations 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.Info column family houses known columns, specifically ones included in columnfamily filters.Metrics have a separate column family, because they have a separate TTL. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Keep a local copy if you need to avoid overhead of repeated cloning.static ApplicationColumnFamilyReturns the enum constant of this class with the specified name.static ApplicationColumnFamily[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
Info column family houses known columns, specifically ones included in columnfamily filters. -
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
Metrics have a separate column family, because they have a separate TTL.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getBytes
public byte[] getBytes()Description copied from interface:ColumnFamilyKeep a local copy if you need to avoid overhead of repeated cloning.- Specified by:
getBytesin interfaceColumnFamily<ApplicationTable>- Returns:
- a clone of the byte representation of the column family.
-