Class ReplaceWindowFuncCallsWithCRVisitor

  • All Implemented Interfaces:
    Visitor

    class ReplaceWindowFuncCallsWithCRVisitor
    extends java.lang.Object
    implements Visitor
    Replace all window function calls with result columns.
    • Field Detail

      • skipOverClass

        private java.lang.Class<?> skipOverClass
      • tableNumber

        private int tableNumber
    • Constructor Detail

      • ReplaceWindowFuncCallsWithCRVisitor

        ReplaceWindowFuncCallsWithCRVisitor​(ResultColumnList rcl,
                                            int tableNumber,
                                            java.lang.Class<?> skipOverClass)
        Replace all window function calls with column references. Add the reference to the RCL. Delegates most work to WindowFunctionNode.replaceCallsWithColumnReferences(rcl, tableNumber).
        Parameters:
        rcl - the result column list
        tableNumber - The tableNumber for the new CRs
        skipOverClass - Don't go past this