public static enum CompactRangeOptions.BottommostLevelCompaction extends java.lang.Enum<CompactRangeOptions.BottommostLevelCompaction>
Enum Constant and Description |
---|
kForce
Always compact bottommost level
|
kIfHaveCompactionFilter
Only compact bottommost level if there is a compaction filter.
|
kSkip
Skip bottommost level compaction
|
Modifier and Type | Method and Description |
---|---|
static CompactRangeOptions.BottommostLevelCompaction |
fromRocksId(int bottommostLevelCompaction)
Returns the BottommostLevelCompaction for the given C++ rocks enum value.
|
byte |
getValue()
Returns the byte value of the enumerations value.
|
static CompactRangeOptions.BottommostLevelCompaction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompactRangeOptions.BottommostLevelCompaction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactRangeOptions.BottommostLevelCompaction kSkip
public static final CompactRangeOptions.BottommostLevelCompaction kIfHaveCompactionFilter
public static final CompactRangeOptions.BottommostLevelCompaction kForce
public static CompactRangeOptions.BottommostLevelCompaction[] values()
for (CompactRangeOptions.BottommostLevelCompaction c : CompactRangeOptions.BottommostLevelCompaction.values()) System.out.println(c);
public static CompactRangeOptions.BottommostLevelCompaction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getValue()
Returns the byte value of the enumerations value.
public static CompactRangeOptions.BottommostLevelCompaction fromRocksId(int bottommostLevelCompaction)
bottommostLevelCompaction
- The value of the BottommostLevelCompaction