|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Evolving public interface ExecType
The type of query execution. Pig will cycle through all implementations of ExecType and choose the first one that matches the Properties passed in. This ExecType then dictates the ExecutionEngine used for processing and other behaviour throughout Pig. Any implementing classes should be noted in the META-INF/services folder titled org.apache.pig.ExecType as per the Java ServiceLoader specification.
Field Summary | |
---|---|
static ExecType |
LOCAL
|
static ExecType |
MAPREDUCE
|
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. |
Field Detail |
---|
static final ExecType LOCAL
static final ExecType MAPREDUCE
Method Detail |
---|
boolean accepts(Properties properties)
ExecutionEngine getExecutionEngine(PigContext pigContext)
Class<? extends ExecutionEngine> getExecutionEngineClass()
boolean isLocal()
String name()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |