org.apache.pig.backend.hadoop.executionengine
Class HExecutionEngine
java.lang.Object
org.apache.pig.backend.hadoop.executionengine.HExecutionEngine
public class HExecutionEngine
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_TRACKER_LOCATION
public static final String JOB_TRACKER_LOCATION
- See Also:
- Constant Field Values
LOCAL
public static final String LOCAL
- See Also:
- Constant Field Values
pigContext
protected PigContext pigContext
ds
protected DataStorage ds
jobConf
protected org.apache.hadoop.mapred.JobConf jobConf
logicalToPhysicalKeys
protected Map<OperatorKey,OperatorKey> logicalToPhysicalKeys
materializedResults
protected Map<OperatorKey,MapRedResult> materializedResults
HExecutionEngine
public HExecutionEngine(PigContext pigContext)
getJobConf
public org.apache.hadoop.mapred.JobConf getJobConf()
getMaterializedResults
public Map<OperatorKey,MapRedResult> getMaterializedResults()
getDataStorage
public DataStorage getDataStorage()
init
public void init()
throws ExecException
- Throws:
ExecException
init
public void init(Properties properties)
throws ExecException
- Throws:
ExecException
getConfiguration
public Properties getConfiguration()
throws ExecException
- Throws:
ExecException
updateConfiguration
public void updateConfiguration(Properties newConfiguration)
throws ExecException
- Throws:
ExecException
close
public void close()
throws ExecException
- Throws:
ExecException
getStatistics
public Map<String,Object> getStatistics()
throws ExecException
- Throws:
ExecException
compile
public PhysicalPlan compile(LogicalPlan plan,
Properties properties)
throws FrontendException
- Throws:
FrontendException
execute
public List<ExecJob> execute(PhysicalPlan plan,
String jobName)
throws ExecException,
FrontendException
- Throws:
ExecException
FrontendException
explain
public void explain(PhysicalPlan plan,
PrintStream stream,
String format,
boolean verbose)
checkLeafIsStore
public static FileSpec checkLeafIsStore(PhysicalPlan plan,
PigContext pigContext)
throws ExecException
- Throws:
ExecException
Copyright © ${year} The Apache Software Foundation