public enum HadoopDistro extends java.lang.Enum<HadoopDistro>
| Enum Constant and Description |
|---|
hadoop10
Apache Hadoop 1.0
|
hadoop11
Apache Hadoop 1.1
|
hadoop20
Apache Hadoop 2.0
|
phd1
Pivotal HD 1.0
|
| Modifier and Type | Method and Description |
|---|---|
static HadoopDistro |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HadoopDistro[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopDistro hadoop10
public static final HadoopDistro hadoop11
public static final HadoopDistro hadoop20
public static final HadoopDistro phd1
public static HadoopDistro[] values()
for (HadoopDistro c : HadoopDistro.values()) System.out.println(c);
public static HadoopDistro 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 null