public static enum HdfsConstants.NodeType extends Enum<HdfsConstants.NodeType>
public static final HdfsConstants.NodeType NAME_NODE
public static final HdfsConstants.NodeType DATA_NODE
public static HdfsConstants.NodeType[] values()
for (HdfsConstants.NodeType c : HdfsConstants.NodeType.values()) System.out.println(c);
public static HdfsConstants.NodeType valueOf(String name)
name
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation