org.apache.pig.backend.executionengine
Interface ExecPhysicalPlan

All Superinterfaces:
Serializable
All Known Implementing Classes:
LocalPhysicalPlan, MapRedPhysicalPlan

public interface ExecPhysicalPlan
extends Serializable


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...
 

Method Detail

getConfiguration

Properties getConfiguration()
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.

Returns:
set of properties

updateConfiguration

void updateConfiguration(Properties configuration)
                         throws ExecException
Some properties of the job may be changed, say the priority...

Parameters:
configuration -
Throws:
some - changes may not be allowed, for instance the some job-level properties cannot override Execution-Engine-level properties or maybe some properties can only be changes only in certain states of the job, say, once the job is started, parallelism level may not be changed...
ExecException

explain

void explain(OutputStream out)
To provide an "explanation" about how the physical plan has been constructed


getOpTable

Map<OperatorKey,ExecPhysicalOperator> getOpTable()

getRoot

OperatorKey getRoot()


Copyright © ${year} The Apache Software Foundation