Class SimplePlanRewriter.RewriteContext<C>

    • Method Detail

      • get

        public C get()
      • defaultRewrite

        public PlanNode defaultRewrite​(PlanNode node)
        Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten children
      • defaultRewrite

        public PlanNode defaultRewrite​(PlanNode node,
                                       C context)
        Invoke the rewrite logic recursively on children of the given node and swap it out with an identical copy with the rewritten children
      • rewrite

        public PlanNode rewrite​(PlanNode node,
                                C userContext)
        This method is meant for invoking the rewrite logic on children while processing a node
      • rewrite

        public PlanNode rewrite​(PlanNode node)
        This method is meant for invoking the rewrite logic on children while processing a node