org.apache.pig.experimental.logical.optimizer
Class UidStamper
java.lang.Object
org.apache.pig.experimental.plan.PlanVisitor
org.apache.pig.experimental.logical.relational.LogicalPlanVisitor
org.apache.pig.experimental.logical.optimizer.AllExpressionVisitor
org.apache.pig.experimental.logical.optimizer.UidStamper
public class UidStamper
- extends AllExpressionVisitor
A Visitor to stamp every part of every expression in a tree with a uid.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UidStamper
public UidStamper(OperatorPlan plan)
- Parameters:
plan
- LogicalPlan that this stamper will act on.
getVisitor
protected LogicalExpressionVisitor getVisitor(LogicalExpressionPlan expr)
- Description copied from class:
AllExpressionVisitor
- Get a new instance of the expression visitor to apply to
a given expression.
- Specified by:
getVisitor
in class AllExpressionVisitor
- Parameters:
expr
- LogicalExpressionPlan that will be visited
- Returns:
- a new LogicalExpressionVisitor for that expression
visitLOLoad
public void visitLOLoad(LOLoad load)
throws IOException
- Overrides:
visitLOLoad
in class LogicalPlanVisitor
- Throws:
IOException
Copyright © ${year} The Apache Software Foundation