public static enum ActiveCompaction.CompactionType extends Enum<ActiveCompaction.CompactionType>
Enum Constant and Description |
---|
FULL
compaction that merges all of a tablets files into one file
|
MAJOR
compaction that merges a subset of a tablets files into one file
|
MERGE
compaction to flush a tablets memory and merge it with the tablets smallest file.
|
MINOR
compaction to flush a tablets memory
|
Modifier and Type | Method and Description |
---|---|
static ActiveCompaction.CompactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveCompaction.CompactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveCompaction.CompactionType MINOR
public static final ActiveCompaction.CompactionType MERGE
public static final ActiveCompaction.CompactionType MAJOR
public static final ActiveCompaction.CompactionType FULL
public static ActiveCompaction.CompactionType[] values()
for (ActiveCompaction.CompactionType c : ActiveCompaction.CompactionType.values()) System.out.println(c);
public static ActiveCompaction.CompactionType 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 nullCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.