public class SparkExecType extends Object implements ExecType
| Constructor and Description |
|---|
SparkExecType() |
| 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.
|
String |
toString() |
public boolean accepts(Properties properties)
ExecTypepublic ExecutionEngine getExecutionEngine(PigContext pigContext)
ExecTypegetExecutionEngine in interface ExecTypepublic Class<? extends ExecutionEngine> getExecutionEngineClass()
ExecTypegetExecutionEngineClass in interface ExecTypepublic boolean isLocal()
ExecTypepublic String name()
ExecTypeCopyright © 2007-2017 The Apache Software Foundation