public class ExpToPhyTranslationVisitor extends LogicalExpressionVisitor
Modifier and Type | Field and Description |
---|---|
protected LogicalRelationalOperator |
currentOp |
protected PhysicalPlan |
currentPlan |
protected java.util.Deque<PhysicalPlan> |
currentPlans |
protected java.util.Map<Operator,PhysicalOperator> |
logToPhyMap |
protected NodeIdGenerator |
nodeGen |
protected PigContext |
pc |
currentWalker, DEFAULT_SCOPE, plan
Constructor and Description |
---|
ExpToPhyTranslationVisitor(OperatorPlan plan,
LogicalRelationalOperator op,
PhysicalPlan phyPlan,
java.util.Map<Operator,PhysicalOperator> map) |
ExpToPhyTranslationVisitor(OperatorPlan plan,
PlanWalker walker,
LogicalRelationalOperator op,
PhysicalPlan phyPlan,
java.util.Map<Operator,PhysicalOperator> map) |
Modifier and Type | Method and Description |
---|---|
PhysicalPlan |
getPhysicalPlan() |
void |
setPigContext(PigContext pc) |
void |
visit(AddExpression op) |
void |
visit(AndExpression op) |
void |
visit(BinCondExpression op) |
void |
visit(CastExpression op) |
void |
visit(ConstantExpression op) |
void |
visit(DereferenceExpression op) |
void |
visit(DivideExpression op) |
void |
visit(EqualExpression op) |
void |
visit(GreaterThanEqualExpression op) |
void |
visit(GreaterThanExpression op) |
void |
visit(IsNullExpression op) |
void |
visit(LessThanEqualExpression op) |
void |
visit(LessThanExpression op) |
void |
visit(MapLookupExpression op) |
void |
visit(ModExpression op) |
void |
visit(MultiplyExpression op) |
void |
visit(NegativeExpression op) |
void |
visit(NotEqualExpression op) |
void |
visit(NotExpression op) |
void |
visit(OrExpression op) |
void |
visit(ProjectExpression op) |
void |
visit(RegexExpression op) |
void |
visit(SubtractExpression op) |
void |
visit(UserFuncExpression op) |
visit
getPlan, popWalker, pushWalker, visit
protected LogicalRelationalOperator currentOp
protected java.util.Map<Operator,PhysicalOperator> logToPhyMap
protected java.util.Deque<PhysicalPlan> currentPlans
protected PhysicalPlan currentPlan
protected NodeIdGenerator nodeGen
protected PigContext pc
public ExpToPhyTranslationVisitor(OperatorPlan plan, LogicalRelationalOperator op, PhysicalPlan phyPlan, java.util.Map<Operator,PhysicalOperator> map) throws FrontendException
FrontendException
public ExpToPhyTranslationVisitor(OperatorPlan plan, PlanWalker walker, LogicalRelationalOperator op, PhysicalPlan phyPlan, java.util.Map<Operator,PhysicalOperator> map) throws FrontendException
FrontendException
public void setPigContext(PigContext pc)
public PhysicalPlan getPhysicalPlan()
public void visit(AndExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(OrExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(EqualExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(NotEqualExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(GreaterThanExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(GreaterThanEqualExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(LessThanExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(LessThanEqualExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(ProjectExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(MapLookupExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(ConstantExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(CastExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(NotExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(IsNullExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(NegativeExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(AddExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(RegexExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(SubtractExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(MultiplyExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(DivideExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(ModExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(BinCondExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(UserFuncExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
public void visit(DereferenceExpression op) throws FrontendException
visit
in class LogicalExpressionVisitor
FrontendException
Copyright © 2007-2012 The Apache Software Foundation