Enum CompactionSettings
- java.lang.Object
-
- java.lang.Enum<CompactionSettings>
-
- org.apache.accumulo.core.compaction.CompactionSettings
-
- All Implemented Interfaces:
Serializable
,Comparable<CompactionSettings>
public enum CompactionSettings extends Enum<CompactionSettings>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIN_FILES_OPT
OUTPUT_BLOCK_SIZE_OPT
OUTPUT_COMPRESSION_OPT
OUTPUT_HDFS_BLOCK_SIZE_OPT
OUTPUT_INDEX_BLOCK_SIZE_OPT
OUTPUT_REPLICATION_OPT
SF_GT_ESIZE_OPT
SF_LT_ESIZE_OPT
SF_NAME_RE_OPT
SF_NO_SAMPLE
SF_PATH_RE_OPT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
put(Map<String,String> options, String val)
static CompactionSettings
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompactionSettings[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SF_NO_SAMPLE
public static final CompactionSettings SF_NO_SAMPLE
-
SF_GT_ESIZE_OPT
public static final CompactionSettings SF_GT_ESIZE_OPT
-
SF_LT_ESIZE_OPT
public static final CompactionSettings SF_LT_ESIZE_OPT
-
SF_NAME_RE_OPT
public static final CompactionSettings SF_NAME_RE_OPT
-
SF_PATH_RE_OPT
public static final CompactionSettings SF_PATH_RE_OPT
-
MIN_FILES_OPT
public static final CompactionSettings MIN_FILES_OPT
-
OUTPUT_COMPRESSION_OPT
public static final CompactionSettings OUTPUT_COMPRESSION_OPT
-
OUTPUT_BLOCK_SIZE_OPT
public static final CompactionSettings OUTPUT_BLOCK_SIZE_OPT
-
OUTPUT_HDFS_BLOCK_SIZE_OPT
public static final CompactionSettings OUTPUT_HDFS_BLOCK_SIZE_OPT
-
OUTPUT_INDEX_BLOCK_SIZE_OPT
public static final CompactionSettings OUTPUT_INDEX_BLOCK_SIZE_OPT
-
OUTPUT_REPLICATION_OPT
public static final CompactionSettings OUTPUT_REPLICATION_OPT
-
-
Method Detail
-
values
public static CompactionSettings[] 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 (CompactionSettings c : CompactionSettings.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompactionSettings 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
-
-