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

java.lang.Object
  extended by org.apache.pig.experimental.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)
          the listener that is notified after a plan is 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 IOException
Description copied from interface: PlanTransformListener
the listener that is notified after a plan is 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:
IOException


Copyright © ${year} The Apache Software Foundation