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)
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
public String name()
ExecType
Copyright © 2007-2017 The Apache Software Foundation