org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans
Class XMLMRPrinter

java.lang.Object
  extended by org.apache.pig.impl.plan.PlanVisitor<MapReduceOper,MROperPlan>
      extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.MROpPlanVisitor
          extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.XMLMRPrinter

public class XMLMRPrinter
extends MROpPlanVisitor

A visitor mechanism printing out the logical plan.


Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
XMLMRPrinter(PrintStream ps, MROperPlan plan)
           
 
Method Summary
 void closePlan()
           
 void visitMROp(MapReduceOper mr)
           
 
Methods inherited from class org.apache.pig.impl.plan.PlanVisitor
getPlan, popWalker, pushWalker, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLMRPrinter

public XMLMRPrinter(PrintStream ps,
                    MROperPlan plan)
             throws ParserConfigurationException
Parameters:
ps - PrintStream to output plan information to
plan - MR plan to print
Throws:
ParserConfigurationException
Method Detail

closePlan

public void closePlan()
               throws TransformerException
Throws:
TransformerException

visitMROp

public void visitMROp(MapReduceOper mr)
               throws VisitorException
Overrides:
visitMROp in class MROpPlanVisitor
Throws:
VisitorException


Copyright © 2007-2012 The Apache Software Foundation