org.apache.pig.newplan.logical.optimizer
Class SchemaPatcher
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaPatcher
public SchemaPatcher()
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 transformedtp
- a plan containing only the operators that have been transformed
- Throws:
FrontendException
Copyright © 2012 The Apache Software Foundation