Enum ActiveCompaction.CompactionType
- java.lang.Object
-
- java.lang.Enum<ActiveCompaction.CompactionType>
-
- org.apache.accumulo.core.client.admin.ActiveCompaction.CompactionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActiveCompaction.CompactionType>
- Enclosing class:
- ActiveCompaction
public static enum ActiveCompaction.CompactionType extends Enum<ActiveCompaction.CompactionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
compaction that merges all of a tablets files into one fileMAJOR
compaction that merges a subset of a tablets files into one fileMERGE
Deprecated, for removal: This API element is subject to removal in a future version.MINOR
compaction to flush a tablets memory
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
MINOR
public static final ActiveCompaction.CompactionType MINOR
compaction to flush a tablets memory
-
MERGE
@Deprecated(since="2.1.0", forRemoval=true) public static final ActiveCompaction.CompactionType MERGE
Deprecated, for removal: This API element is subject to removal in a future version.Accumulo no longer does merging minor compactions.
-
MAJOR
public static final ActiveCompaction.CompactionType MAJOR
compaction that merges a subset of a tablets files into one file
-
FULL
public static final ActiveCompaction.CompactionType FULL
compaction that merges all of a tablets files into one file
-
-
Method Detail
-
values
public static ActiveCompaction.CompactionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActiveCompaction.CompactionType c : ActiveCompaction.CompactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActiveCompaction.CompactionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-