Class ReplaceWindowFuncCallsWithCRVisitor

java.lang.Object
org.apache.derby.impl.sql.compile.ReplaceWindowFuncCallsWithCRVisitor
All Implemented Interfaces:
Visitor

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

    • rcl

      private ResultColumnList rcl
    • skipOverClass

      private Class<?> skipOverClass
    • tableNumber

      private int tableNumber
  • Constructor Details

    • ReplaceWindowFuncCallsWithCRVisitor

      ReplaceWindowFuncCallsWithCRVisitor(ResultColumnList rcl, int tableNumber, 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
  • Method Details