public static enum CompactionInfo.Unit extends java.lang.Enum<CompactionInfo.Unit>
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFileSize(java.lang.String unit) |
java.lang.String |
toString() |
static CompactionInfo.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompactionInfo.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactionInfo.Unit BYTES
public static final CompactionInfo.Unit RANGES
public static final CompactionInfo.Unit KEYS
public static CompactionInfo.Unit[] values()
for (CompactionInfo.Unit c : CompactionInfo.Unit.values()) System.out.println(c);
public static CompactionInfo.Unit 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 java.lang.String toString()
toString in class java.lang.Enum<CompactionInfo.Unit>public static boolean isFileSize(java.lang.String unit)
Copyright © 2018 The Apache Software Foundation