public enum MetadataType extends java.lang.Enum<MetadataType>
Enum Constant and Description |
---|
COMPACTION
Metadata only used at compaction
|
HEADER
Serialization header
|
STATS
Metadata always keep in memory
|
VALIDATION
Metadata only used for SSTable validation
|
Modifier and Type | Field and Description |
---|---|
IMetadataComponentSerializer<MetadataComponent> |
serializer |
Modifier and Type | Method and Description |
---|---|
static MetadataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataType VALIDATION
public static final MetadataType COMPACTION
public static final MetadataType STATS
public static final MetadataType HEADER
public final IMetadataComponentSerializer<MetadataComponent> serializer
public static MetadataType[] values()
for (MetadataType c : MetadataType.values()) System.out.println(c);
public static MetadataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 The Apache Software Foundation