org.apache.pig.backend.local.executionengine
Class LocalPhysicalPlan

java.lang.Object
  extended by org.apache.pig.backend.local.executionengine.LocalPhysicalPlan
All Implemented Interfaces:
Serializable, ExecPhysicalPlan

public class LocalPhysicalPlan
extends Object
implements ExecPhysicalPlan

See Also:
Serialized Form

Field Summary
protected  Map<OperatorKey,ExecPhysicalOperator> opTable
           
protected  OperatorKey root
           
 
Method Summary
 void explain(OutputStream out)
          To provide an "explanation" about how the physical plan has been constructed
 Properties getConfiguration()
          A job may have properties, like a priority, degree of parallelism...
 Map<OperatorKey,ExecPhysicalOperator> getOpTable()
           
 OperatorKey getRoot()
           
 void updateConfiguration(Properties configuration)
          Some properties of the job may be changed, say the priority...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected OperatorKey root

opTable

protected Map<OperatorKey,ExecPhysicalOperator> opTable
Method Detail

getConfiguration

public Properties getConfiguration()
Description copied from interface: ExecPhysicalPlan
A job may have properties, like a priority, degree of parallelism... Some of such properties may be inherited from the ExecutionEngine configuration, other may have been set specifically for this job. For instance, a job scheduler may attribute low priority to jobs automatically started for maintenance purpose.

Specified by:
getConfiguration in interface ExecPhysicalPlan
Returns:
set of properties

updateConfiguration

public void updateConfiguration(Properties configuration)
                         throws ExecException
Description copied from interface: ExecPhysicalPlan
Some properties of the job may be changed, say the priority...

Specified by:
updateConfiguration in interface ExecPhysicalPlan
Throws:
ExecException

explain

public void explain(OutputStream out)
Description copied from interface: ExecPhysicalPlan
To provide an "explanation" about how the physical plan has been constructed

Specified by:
explain in interface ExecPhysicalPlan

getOpTable

public Map<OperatorKey,ExecPhysicalOperator> getOpTable()
Specified by:
getOpTable in interface ExecPhysicalPlan

getRoot

public OperatorKey getRoot()
Specified by:
getRoot in interface ExecPhysicalPlan


Copyright © ${year} The Apache Software Foundation