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