@InterfaceAudience.Public @InterfaceStability.Evolving public interface ExecType extends Serializable
Modifier and Type | Field and Description |
---|---|
static ExecType |
LOCAL |
static ExecType |
MAPREDUCE |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean accepts(Properties properties)
ExecutionEngine getExecutionEngine(PigContext pigContext)
Class<? extends ExecutionEngine> getExecutionEngineClass()
boolean isLocal()
String name()
Copyright © 2007-2012 The Apache Software Foundation