Class ClearQueryBlockAliasResolver

  • All Implemented Interfaces:
    org.apache.calcite.rel.RelShuttle

    public class ClearQueryBlockAliasResolver
    extends org.apache.calcite.rel.RelShuttleImpl
    A shuttle to remove query block alias hint.
    • Field Summary

      • Fields inherited from class org.apache.calcite.rel.RelShuttleImpl

        stack
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.apache.calcite.rel.RelNode> resolve​(List<org.apache.calcite.rel.RelNode> roots)  
      org.apache.calcite.rel.RelNode visit​(org.apache.calcite.rel.core.TableScan scan)  
      protected org.apache.calcite.rel.RelNode visitChild​(org.apache.calcite.rel.RelNode parent, int i, org.apache.calcite.rel.RelNode child)  
      • Methods inherited from class org.apache.calcite.rel.RelShuttleImpl

        visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitChildren
    • Constructor Detail

      • ClearQueryBlockAliasResolver

        public ClearQueryBlockAliasResolver()
    • Method Detail

      • resolve

        public List<org.apache.calcite.rel.RelNode> resolve​(List<org.apache.calcite.rel.RelNode> roots)
      • visitChild

        protected org.apache.calcite.rel.RelNode visitChild​(org.apache.calcite.rel.RelNode parent,
                                                            int i,
                                                            org.apache.calcite.rel.RelNode child)
        Overrides:
        visitChild in class org.apache.calcite.rel.RelShuttleImpl
      • visit

        public org.apache.calcite.rel.RelNode visit​(org.apache.calcite.rel.core.TableScan scan)
        Specified by:
        visit in interface org.apache.calcite.rel.RelShuttle
        Overrides:
        visit in class org.apache.calcite.rel.RelShuttleImpl