| Modifier and Type | Field and Description |
|---|---|
| private ExecRow | |
| private FormatableBitSet | |
| private GeneratedMethod | |
| public long | restrictionTime
Cumulative time needed to evaluate any restriction on this result set. |
| private long | |
| public NoPutResultSet | source
Source result set, |
| Access | Constructor and Description |
|---|---|
| pack-priv | WindowResultSet(Activation
The activation activation, NoPutResultSet Source result set source, int rowAllocator, int The resultSetNumber resultSetNumber, int Int for ResultDescription
(so it can be turned back into an object) erdNumber, GeneratedMethod Restriction restriction, double The optimizer's estimated number
of rows. optimizerEstimatedRowCount, double The optimizer's estimated cost optimizerEstimatedCost)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the open scan, else throw. |
| private ExecRow | Returns: The cached ExecRow for this ResultSetCache the ExecRow for this result set. |
| public ExecRow | Returns: the next row in the resultImplements abstract org. Implements org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. |
| public long | Returns: long The total amount of time spent (in milliseconds).CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. type)Implements org. Return the total amount of time spent in this ResultSet |
| public void | openCore()
Implements org. Open this ResultSet. |
| public void | populateFromSourceRow(ExecRow srcrow, ExecRow destrow)
Copy columns from srcrow into destrow, or insert ROW_NUMBER. |
| public void | reopenCore()
Overrides org. Implements org. Reopen this ResultSet. |
| allocatedRow | back to summary |
|---|---|
| private ExecRow allocatedRow | |
| referencedColumns | back to summary |
|---|---|
| private FormatableBitSet referencedColumns | |
| restriction | back to summary |
|---|---|
| private GeneratedMethod restriction | |
| restrictionTime | back to summary |
|---|---|
| public long restrictionTime Cumulative time needed to evaluate any restriction on this result set. | |
| rownumber | back to summary |
|---|---|
| private long rownumber | |
| source | back to summary |
|---|---|
| public NoPutResultSet source Source result set, | |
| WindowResultSet | back to summary |
|---|---|
| pack-priv WindowResultSet(Activation activation, NoPutResultSet source, int rowAllocator, int resultSetNumber, int erdNumber, GeneratedMethod restriction, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException Constructor
| |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan, else throw.
| |
| getAllocatedRow | back to summary |
|---|---|
| private ExecRow getAllocatedRow() throws StandardException Cache the ExecRow for this result set.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. Restriction and projection parameters are evaluated for each row.
| |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. Open this ResultSet.
| |
| populateFromSourceRow | back to summary |
|---|---|
| public void populateFromSourceRow(ExecRow srcrow, ExecRow destrow) throws StandardException Copy columns from srcrow into destrow, or insert ROW_NUMBER. FIXME This is temporary. Window function treatment needs to generalized to work for other window functions.
| |
| reopenCore | back to summary |
|---|---|
| public void reopenCore() throws StandardException Overrides org. Implements org. Reopen this ResultSet.
| |