org.apache.pig.newplan.logical.optimizer
Class ProjectionPatcher

java.lang.Object
  extended by org.apache.pig.newplan.logical.optimizer.ProjectionPatcher
All Implemented Interfaces:
PlanTransformListener

public class ProjectionPatcher
extends Object
implements PlanTransformListener

A PlanTransformListener that will patch up references in projections.


Nested Class Summary
static class ProjectionPatcher.ProjectionFinder
           
 
Constructor Summary
ProjectionPatcher()
           
 
Method Summary
 void transformed(OperatorPlan fp, OperatorPlan tp)
          Notification that a plan has been transformed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionPatcher

public ProjectionPatcher()
Method Detail

transformed

public void transformed(OperatorPlan fp,
                        OperatorPlan tp)
                 throws FrontendException
Description copied from interface: PlanTransformListener
Notification that a plan has been transformed. The listener is free in this method to make changes to the annotations on the plan now that it has been transformed.

Specified by:
transformed in interface PlanTransformListener
Parameters:
fp - the full plan that has been transformed
tp - a plan containing only the operators that have been transformed
Throws:
FrontendException


Copyright © ${year} The Apache Software Foundation