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

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

public class SchemaPatcher
extends Object
implements PlanTransformListener

A PlanTransformListener for the logical optimizer that will patch up schemas after a plan has been transformed.


Constructor Summary
SchemaPatcher()
           
 
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

SchemaPatcher

public SchemaPatcher()
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 © 2007-2012 The Apache Software Foundation