public enum ApplicationColumnFamily extends Enum<ApplicationColumnFamily> implements ColumnFamily<ApplicationTable>
Enum Constant and Description |
---|
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.
|
INFO
Info column family houses known columns, specifically ones included in
columnfamily filters.
|
METRICS
Metrics have a separate column family, because they have a separate TTL.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Keep a local copy if you need to avoid overhead of repeated cloning.
|
static ApplicationColumnFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationColumnFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationColumnFamily INFO
public static final ApplicationColumnFamily CONFIGS
public static final ApplicationColumnFamily METRICS
public static ApplicationColumnFamily[] values()
for (ApplicationColumnFamily c : ApplicationColumnFamily.values()) System.out.println(c);
public static ApplicationColumnFamily valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte[] getBytes()
ColumnFamily
getBytes
in interface ColumnFamily<ApplicationTable>
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.