com.amazonaws.services.elasticmapreduce.util
Enum StepFactory.HiveVersion
java.lang.Object
java.lang.Enum<StepFactory.HiveVersion>
com.amazonaws.services.elasticmapreduce.util.StepFactory.HiveVersion
- All Implemented Interfaces:
- Serializable, Comparable<StepFactory.HiveVersion>
- Enclosing class:
- StepFactory
public static enum StepFactory.HiveVersion
- extends Enum<StepFactory.HiveVersion>
The available Hive versions. These are only available on Hadoop 0.20
Hive_0_5 Hive 0.5
Hive_0_7 Hive 0.7
Hive_0_7_1 Hive 0.7.1
Hive_0_5
public static final StepFactory.HiveVersion Hive_0_5
Hive_0_7
public static final StepFactory.HiveVersion Hive_0_7
Hive_0_7_1
public static final StepFactory.HiveVersion Hive_0_7_1
Hive_Latest
public static final StepFactory.HiveVersion Hive_Latest
values
public static StepFactory.HiveVersion[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StepFactory.HiveVersion c : StepFactory.HiveVersion.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StepFactory.HiveVersion valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<StepFactory.HiveVersion>
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.