private static enum HFileBlock.Writer.State extends Enum<HFileBlock.Writer.State>
Enum Constant and Description |
---|
BLOCK_READY |
INIT |
WRITING |
Modifier and Type | Method and Description |
---|---|
static HFileBlock.Writer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HFileBlock.Writer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HFileBlock.Writer.State INIT
public static final HFileBlock.Writer.State WRITING
public static final HFileBlock.Writer.State BLOCK_READY
public static HFileBlock.Writer.State[] values()
for (HFileBlock.Writer.State c : HFileBlock.Writer.State.values()) System.out.println(c);
public static HFileBlock.Writer.State 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 The Apache Software Foundation. All rights reserved.