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