public enum ExecType extends Enum<ExecType> implements Serializable
| Enum Constant and Description |
|---|
LOCAL
Run everything on the local machine
|
MAPREDUCE
Use the Hadoop Map/Reduce framework
|
| Modifier and Type | Method and Description |
|---|---|
static ExecType |
fromString(String execString)
Given a string, determine the exec type.
|
static ExecType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecType LOCAL
public static final ExecType MAPREDUCE
public static ExecType[] values()
for (ExecType c : ExecType.values()) System.out.println(c);
public static ExecType 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 nullpublic static ExecType fromString(String execString) throws PigException
execString - accepted values are 'local', 'mapreduce', and 'mapred'PigExceptionCopyright © 2007-2012 The Apache Software Foundation