public static class PlannerUtil.LogicalNodeReplaceVisitor extends BasicLogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>
| Constructor and Description |
|---|
PlannerUtil.LogicalNodeReplaceVisitor(LogicalNode target,
LogicalNode tobeReplaced) |
| Modifier and Type | Method and Description |
|---|---|
LogicalNode |
visit(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context,
LogicalPlan plan,
LogicalPlan.QueryBlock block,
LogicalNode node,
Stack<LogicalNode> stack)
visit visits each logicalNode recursively.
|
LogicalNode |
visitPartitionedTableScan(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context,
LogicalPlan plan,
LogicalPlan.QueryBlock block,
PartitionedTableScanNode node,
Stack<LogicalNode> stack) |
LogicalNode |
visitScan(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context,
LogicalPlan plan,
LogicalPlan.QueryBlock block,
ScanNode node,
Stack<LogicalNode> stack) |
postHook, preHook, visit, visitAlterTable, visitAlterTablespace, visitCreateDatabase, visitCreateTable, visitDistinctGroupby, visitDropDatabase, visitDropTable, visitEvalExpr, visitExcept, visitFilter, visitGroupBy, visitHaving, visitInsert, visitIntersect, visitJoin, visitLimit, visitProjection, visitRoot, visitSetSession, visitSort, visitStoreTable, visitTableSubQuery, visitTruncateTable, visitUnion, visitWindowAggpublic PlannerUtil.LogicalNodeReplaceVisitor(LogicalNode target, LogicalNode tobeReplaced)
public LogicalNode visit(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context, LogicalPlan plan, @Nullable LogicalPlan.QueryBlock block, LogicalNode node, Stack<LogicalNode> stack) throws PlanningException
BasicLogicalPlanVisitorvisit in class BasicLogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>PlanningExceptionpublic LogicalNode visitScan(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context, LogicalPlan plan, LogicalPlan.QueryBlock block, ScanNode node, Stack<LogicalNode> stack) throws PlanningException
visitScan in interface LogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>visitScan in class BasicLogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>PlanningExceptionpublic LogicalNode visitPartitionedTableScan(org.apache.tajo.plan.util.PlannerUtil.ReplacerContext context, LogicalPlan plan, LogicalPlan.QueryBlock block, PartitionedTableScanNode node, Stack<LogicalNode> stack) throws PlanningException
visitPartitionedTableScan in interface LogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>visitPartitionedTableScan in class BasicLogicalPlanVisitor<org.apache.tajo.plan.util.PlannerUtil.ReplacerContext,LogicalNode>PlanningExceptionCopyright © 2015 Apache Software Foundation. All Rights Reserved.