Package io.trino.sql.planner.plan
Class SimplePlanRewriter<C>
- java.lang.Object
-
- io.trino.sql.planner.plan.PlanVisitor<PlanNode,SimplePlanRewriter.RewriteContext<C>>
-
- io.trino.sql.planner.plan.SimplePlanRewriter<C>
-
public abstract class SimplePlanRewriter<C> extends PlanVisitor<PlanNode,SimplePlanRewriter.RewriteContext<C>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimplePlanRewriter.RewriteContext<C>
-
Constructor Summary
Constructors Constructor Description SimplePlanRewriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <C> PlanNoderewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node)static <C> PlanNoderewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node, C context)protected PlanNodevisitPlan(PlanNode node, SimplePlanRewriter.RewriteContext<C> context)-
Methods inherited from class io.trino.sql.planner.plan.PlanVisitor
visitAggregation, visitApply, visitAssignUniqueId, visitCorrelatedJoin, visitDelete, visitDistinctLimit, visitEnforceSingleRow, visitExcept, visitExchange, visitExplainAnalyze, visitFilter, visitGroupId, visitGroupReference, visitIndexJoin, visitIndexSource, visitIntersect, visitJoin, visitLimit, visitMarkDistinct, visitOffset, visitOutput, visitPatternRecognition, visitProject, visitRefreshMaterializedView, visitRemoteSource, visitRowNumber, visitSample, visitSemiJoin, visitSort, visitSpatialJoin, visitStatisticsWriterNode, visitTableDelete, visitTableExecute, visitTableFinish, visitTableScan, visitTableWriter, visitTopN, visitTopNRanking, visitUnion, visitUnnest, visitUpdate, visitValues, visitWindow
-
-
-
-
Method Detail
-
rewriteWith
public static <C> PlanNode rewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node)
-
rewriteWith
public static <C> PlanNode rewriteWith(SimplePlanRewriter<C> rewriter, PlanNode node, C context)
-
visitPlan
protected PlanNode visitPlan(PlanNode node, SimplePlanRewriter.RewriteContext<C> context)
- Specified by:
visitPlanin classPlanVisitor<PlanNode,SimplePlanRewriter.RewriteContext<C>>
-
-