This class actually probably never underlies a select statement, but in case it might and because it has the same behavior as the ones that do, we have it implement CursorResultSet and give reasonable answers.
| Modifier and Type | Field and Description |
|---|---|
| private ExecRow | |
| private boolean | |
| private boolean | |
| private GeneratedMethod | |
| public int |
| Access | Constructor and Description |
|---|---|
| pack-priv | RowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost)
|
| pack-priv | RowResultSet(Activation activation, ExecRow constantRow, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements org. Tells the system that there will be no more calls to getNextRow() (until the next open() call), so it can free up the resources associated with the ResultSet. |
| public ExecRow | Returns: a null.Implements org. This is not used in positioned update and delete, so just return a null. |
| public ExecRow | getNextRowCore()
Implements abstract org. Implements org. If open and not returned yet, returns the row after plugging the parameters into the expressions. |
| public RowLocation | Returns: a null.Implements org. This is not operating against a stored table, so it has no row location to report. |
| 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. Sets state to 'open'. |
| cachedRow | back to summary |
|---|---|
| private ExecRow cachedRow | |
| canCacheRow | back to summary |
|---|---|
| private boolean canCacheRow | |
| next | back to summary |
|---|---|
| private boolean next | |
| row | back to summary |
|---|---|
| private GeneratedMethod row | |
| rowsReturned | back to summary |
|---|---|
| public int rowsReturned | |
| RowResultSet | back to summary |
|---|---|
| pack-priv RowResultSet(Activation activation, GeneratedMethod row, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost) | |
| RowResultSet | back to summary |
|---|---|
| pack-priv RowResultSet(Activation activation, ExecRow constantRow, boolean canCacheRow, int resultSetNumber, double optimizerEstimatedRowCount, double optimizerEstimatedCost) | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. Doc from org. Tells the system that there will be no more calls to getNextRow() (until the next open() call), so it can free up the resources associated with the ResultSet.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() Implements org. This is not used in positioned update and delete, so just return a null.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. If open and not returned yet, returns the row after plugging the parameters into the expressions.
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() Implements org. This is not operating against a stored table, so it has no row location to report.
| |
| 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. Sets state to 'open'.
| |