Enum Class DomainColumnFamily
java.lang.Object
java.lang.Enum<DomainColumnFamily>
org.apache.hadoop.yarn.server.timelineservice.storage.domain.DomainColumnFamily
- All Implemented Interfaces:
Serializable,Comparable<DomainColumnFamily>,Constable,ColumnFamily<DomainTable>
public enum DomainColumnFamily
extends Enum<DomainColumnFamily>
implements ColumnFamily<DomainTable>
Represents the domain 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 ConstantDescriptionInfo column family houses known columns such as created_time, owners, readers. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getBytes()Keep a local copy if you need to avoid overhead of repeated cloning.static DomainColumnFamilyReturns the enum constant of this class with the specified name.static DomainColumnFamily[]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 such as created_time, owners, readers.
-
-
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<DomainTable>- Returns:
- a clone of the byte representation of the column family.
-