|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ExecType>
org.apache.pig.ExecType
public enum ExecType
The type of query execution
Enum Constant Summary | |
---|---|
LOCAL
Run everything on the local machine |
|
MAPREDUCE
Use the Hadoop Map/Reduce framework |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExecType LOCAL
public static final ExecType MAPREDUCE
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static ExecType fromString(String execString) throws PigException
execString
- accepted values are 'local', 'mapreduce', and 'mapred'
PigException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |