Class WindowResultSet

  • All Implemented Interfaces:
    NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSource

    class WindowResultSet
    extends NoPutResultSetImpl
    WindowResultSet This ResultSet handles a window function ResultSet. The ResultSet is opened using openCore(). Each row is fetched and any restrictions evaluated for each row in a do-while loop in getNextRowCore(). The ResultSet is closed using closeCore().
    • Field Detail

      • restrictionTime

        public long restrictionTime
        Cumulative time needed to evaluate any restriction on this result set.
      • allocatedRow

        private ExecRow allocatedRow
      • rownumber

        private long rownumber
    • Constructor Detail

      • WindowResultSet

        WindowResultSet​(Activation activation,
                        NoPutResultSet source,
                        int rowAllocator,
                        int resultSetNumber,
                        int erdNumber,
                        GeneratedMethod restriction,
                        double optimizerEstimatedRowCount,
                        double optimizerEstimatedCost)
                 throws StandardException
        Constructor
        Parameters:
        activation - The activation
        source - Source result set
        rowAllocator -
        resultSetNumber - The resultSetNumber
        erdNumber - Int for ResultDescription (so it can be turned back into an object)
        restriction - Restriction
        optimizerEstimatedRowCount - The optimizer's estimated number of rows.
        optimizerEstimatedCost - The optimizer's estimated cost
        Throws:
        StandardException