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