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:
  • Enum Constant Details

    • SYSTEM

      public static final CompactionKind SYSTEM
      A system initiated routine compaction.
    • SELECTOR

      public static final CompactionKind SELECTOR
      Set of files selected by a CompactionSelector 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 Details

    • values

      public static CompactionKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null