public abstract class SimplePlanRewriter<C> extends PlanVisitor<PlanNode,SimplePlanRewriter.RewriteContext<C>>
| Modifier and Type | Class and Description |
|---|---|
static class |
SimplePlanRewriter.RewriteContext<C> |
| Constructor and Description |
|---|
SimplePlanRewriter() |
| Modifier and Type | Method and Description |
|---|---|
static <C> PlanNode |
rewriteWith(SimplePlanRewriter<C> rewriter,
PlanNode node) |
static <C> PlanNode |
rewriteWith(SimplePlanRewriter<C> rewriter,
PlanNode node,
C context) |
protected PlanNode |
visitPlan(PlanNode node,
SimplePlanRewriter.RewriteContext<C> context) |
visitAggregation, visitApply, visitAssignUniqueId, visitDelete, visitDistinctLimit, visitEnforceSingleRow, visitExcept, visitExchange, visitExplainAnalyze, visitFilter, visitGroupId, visitGroupReference, visitIndexJoin, visitIndexSource, visitIntersect, visitJoin, visitLateralJoin, visitLimit, visitMarkDistinct, visitMetadataDelete, visitOffset, visitOutput, visitProject, visitRemoteSource, visitRowNumber, visitSample, visitSemiJoin, visitSort, visitSpatialJoin, visitStatisticsWriterNode, visitTableFinish, visitTableScan, visitTableWriter, visitTopN, visitTopNRowNumber, visitUnion, visitUnnest, visitValues, visitWindowpublic static <C> PlanNode rewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node)
public static <C> PlanNode rewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node, C context)
protected PlanNode visitPlan(PlanNode node, SimplePlanRewriter.RewriteContext<C> context)
visitPlan in class PlanVisitor<PlanNode,SimplePlanRewriter.RewriteContext<C>>Copyright © 2012–2019. All rights reserved.