public enum SubApplicationColumnFamily extends Enum<SubApplicationColumnFamily> implements ColumnFamily<SubApplicationTable>
| 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 SubApplicationColumnFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubApplicationColumnFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubApplicationColumnFamily INFO
public static final SubApplicationColumnFamily CONFIGS
public static final SubApplicationColumnFamily METRICS
public static SubApplicationColumnFamily[] values()
for (SubApplicationColumnFamily c : SubApplicationColumnFamily.values()) System.out.println(c);
public static SubApplicationColumnFamily 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()
ColumnFamilygetBytes in interface ColumnFamily<SubApplicationTable>Copyright © 2008–2024 Apache Software Foundation. All rights reserved.