public static enum HRegion.FlushResult.Result extends Enum<HRegion.FlushResult.Result>
Enum Constant and Description |
---|
CANNOT_FLUSH |
CANNOT_FLUSH_MEMSTORE_EMPTY |
FLUSHED_COMPACTION_NEEDED |
FLUSHED_NO_COMPACTION_NEEDED |
Modifier and Type | Method and Description |
---|---|
static HRegion.FlushResult.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HRegion.FlushResult.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HRegion.FlushResult.Result FLUSHED_NO_COMPACTION_NEEDED
public static final HRegion.FlushResult.Result FLUSHED_COMPACTION_NEEDED
public static final HRegion.FlushResult.Result CANNOT_FLUSH_MEMSTORE_EMPTY
public static final HRegion.FlushResult.Result CANNOT_FLUSH
public static HRegion.FlushResult.Result[] values()
for (HRegion.FlushResult.Result c : HRegion.FlushResult.Result.values()) System.out.println(c);
public static HRegion.FlushResult.Result valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2019 Cloudera. All rights reserved.