public class HExecutionEngine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DataStorage |
ds |
static java.lang.String |
JOB_TRACKER_LOCATION |
protected org.apache.hadoop.mapred.JobConf |
jobConf |
static java.lang.String |
LOCAL |
protected java.util.Map<OperatorKey,OperatorKey> |
logicalToPhysicalKeys |
protected java.util.Map<OperatorKey,MapRedResult> |
materializedResults |
protected java.util.Map<Operator,PhysicalOperator> |
newLogToPhyMap |
protected PigContext |
pigContext |
Constructor and Description |
---|
HExecutionEngine(PigContext pigContext) |
Modifier and Type | Method and Description |
---|---|
PhysicalPlan |
compile(LogicalPlan plan,
java.util.Properties properties) |
DataStorage |
getDataStorage() |
java.util.Map<LOForEach,java.util.Map<LogicalRelationalOperator,PhysicalOperator>> |
getForEachInnerLogToPhyMap(LogicalPlan plan) |
org.apache.hadoop.mapred.JobConf |
getJobConf() |
java.util.Map<Operator,PhysicalOperator> |
getLogToPhyMap() |
java.util.Map<OperatorKey,MapRedResult> |
getMaterializedResults() |
LogicalPlan |
getNewPlan() |
void |
init() |
void |
updateConfiguration(java.util.Properties newConfiguration) |
public static final java.lang.String JOB_TRACKER_LOCATION
public static final java.lang.String LOCAL
protected PigContext pigContext
protected DataStorage ds
protected org.apache.hadoop.mapred.JobConf jobConf
protected java.util.Map<OperatorKey,OperatorKey> logicalToPhysicalKeys
protected java.util.Map<OperatorKey,MapRedResult> materializedResults
protected java.util.Map<Operator,PhysicalOperator> newLogToPhyMap
public HExecutionEngine(PigContext pigContext)
public org.apache.hadoop.mapred.JobConf getJobConf()
public java.util.Map<OperatorKey,MapRedResult> getMaterializedResults()
public DataStorage getDataStorage()
public void init() throws ExecException
ExecException
public void updateConfiguration(java.util.Properties newConfiguration) throws ExecException
ExecException
public PhysicalPlan compile(LogicalPlan plan, java.util.Properties properties) throws FrontendException
FrontendException
public java.util.Map<Operator,PhysicalOperator> getLogToPhyMap()
public java.util.Map<LOForEach,java.util.Map<LogicalRelationalOperator,PhysicalOperator>> getForEachInnerLogToPhyMap(LogicalPlan plan)
public LogicalPlan getNewPlan()
Copyright © 2007-2012 The Apache Software Foundation