|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MRExecType
public class MRExecType
MRExecType is the ExecType for distributed mode in Hadoop Mapreduce.
Field Summary |
---|
Fields inherited from interface org.apache.pig.ExecType |
---|
LOCAL, MAPREDUCE |
Constructor Summary | |
---|---|
MRExecType()
|
Method Summary | |
---|---|
boolean |
accepts(Properties properties)
An ExecType is selected based off the Properties for the given script. |
ExecutionEngine |
getExecutionEngine(PigContext pigContext)
Returns the Execution Engine that this ExecType is associated with. |
Class<? extends ExecutionEngine> |
getExecutionEngineClass()
Returns the Execution Engine class that this ExecType is associated with. |
boolean |
isLocal()
An ExecType is classified as local if it runs in-process and through the local filesystem. |
String |
name()
Returns the canonical name for this ExecType. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MRExecType()
Method Detail |
---|
public boolean accepts(Properties properties)
ExecType
accepts
in interface ExecType
public ExecutionEngine getExecutionEngine(PigContext pigContext)
ExecType
getExecutionEngine
in interface ExecType
public Class<? extends ExecutionEngine> getExecutionEngineClass()
ExecType
getExecutionEngineClass
in interface ExecType
public boolean isLocal()
ExecType
isLocal
in interface ExecType
public String name()
ExecType
name
in interface ExecType
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |