Enum CompactionKind
- java.lang.Object
-
- java.lang.Enum<CompactionKind>
-
- org.apache.accumulo.core.spi.compaction.CompactionKind
-
- All Implemented Interfaces:
Serializable
,Comparable<CompactionKind>
public enum CompactionKind extends Enum<CompactionKind>
- Since:
- 2.1.0
- See Also:
org.apache.accumulo.core.spi.compaction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHOP
A compaction executed prior to merging tablets.SELECTOR
Set of files selected by aCompactionSelector
or CompactionStrategy configured for a table.SYSTEM
A system initiated routine compaction.USER
A user initiated a one time compaction using an Accumulo client.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompactionKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompactionKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final CompactionKind SYSTEM
A system initiated routine compaction.
-
SELECTOR
public static final CompactionKind SELECTOR
Set of files selected by aCompactionSelector
or CompactionStrategy configured for a table.
-
USER
public static final CompactionKind USER
A user initiated a one time compaction using an Accumulo client.
-
CHOP
public static final CompactionKind CHOP
A compaction executed prior to merging tablets.
-
-
Method Detail
-
values
public static CompactionKind[] 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 (CompactionKind c : CompactionKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompactionKind 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
-
-