org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans
Class MRStreamHandler
java.lang.Object
org.apache.pig.impl.plan.PlanVisitor<MapReduceOper,MROperPlan>
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.MROpPlanVisitor
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.MRStreamHandler
public class MRStreamHandler
- extends MROpPlanVisitor
This visitor visits the MRPlan and does the following
for each MROper
- If the map plan or the reduce plan of the MROper has
a POStream in it, this marks in the MROper whether the map
has a POStream or if the reduce has a POStream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MRStreamHandler
public MRStreamHandler(MROperPlan plan)
- Parameters:
plan
- MR plan to visit
visitMROp
public void visitMROp(MapReduceOper mr)
throws VisitorException
- Overrides:
visitMROp
in class MROpPlanVisitor
- Throws:
VisitorException
Copyright © ${year} The Apache Software Foundation