public enum CompactionStopStyle extends java.lang.Enum<CompactionStopStyle>
| 枚举常量和说明 |
|---|
CompactionStopStyleSimilarSize
Pick files of similar size
|
CompactionStopStyleTotalSize
Total size of picked files > next file
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CompactionStopStyle |
getCompactionStopStyle(byte value)
Get CompactionStopStyle by byte value.
|
byte |
getValue()
Returns the byte value of the enumerations value
|
static CompactionStopStyle |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CompactionStopStyle[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CompactionStopStyle CompactionStopStyleSimilarSize
public static final CompactionStopStyle CompactionStopStyleTotalSize
public static CompactionStopStyle[] values()
for (CompactionStopStyle c : CompactionStopStyle.values()) System.out.println(c);
public static CompactionStopStyle valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public byte getValue()
public static CompactionStopStyle getCompactionStopStyle(byte value)
value - byte representation of CompactionStopStyle.CompactionStopStyle instance or null.java.lang.IllegalArgumentException - if an invalid
value is provided.