public class SampleOptimizer extends MROpPlanVisitor
mCurrentWalker, mPlan
Constructor and Description |
---|
SampleOptimizer(MROperPlan plan,
PigContext pigContext) |
Modifier and Type | Method and Description |
---|---|
void |
visit()
Entry point for visiting the plan.
|
void |
visitMROp(MapReduceOper mr) |
getPlan, popWalker, pushWalker
public SampleOptimizer(MROperPlan plan, PigContext pigContext)
public void visit() throws VisitorException
PlanVisitor
visit
in class PlanVisitor<MapReduceOper,MROperPlan>
VisitorException
- if an error is encountered while visiting.public void visitMROp(MapReduceOper mr) throws VisitorException
visitMROp
in class MROpPlanVisitor
VisitorException
Copyright © 2007-2017 The Apache Software Foundation