This result set returns only one row.
| Modifier and Type | Field and Description |
|---|---|
| private CursorResultSet | |
| private final String | |
| private boolean | |
| private RowLocation | |
| private ExecRow | |
| private CursorResultSet |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the open scan. |
| public void | finish()
Overrides org. Implements org. Tells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). |
| public ExecRow | Returns: the last row returned by getNextRow.Implements org. Returns the current row of the result set. |
| private void | getCursor()
Because the positioned operation only gets one location per execution, and the cursor could be completely different for each execution (closed and reopened, perhaps), we determine where caching the cursor could be applied. |
| public ExecRow | getNextRowCore()
Implements abstract org. Implements org. If open and not returned yet, returns the row. |
| public RowLocation | Returns: the row location of the current row.Implements org. This result set has its row location from the last fetch done. |
| private ExecRow | Returns: a sparse heap row with referenced columnscompact referenced index row row, int[] base column positions of index keys, signed with asc/desc info indexCols)Return a sparse heap row, based on a compact index row. |
| 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 | markRowAsDeleted()
Overrides org. Implements org. Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method. |
| public void | openCore()
Implements org. open a scan on the table. |
| public void | updateRow(ExecRow
new values for the currentRow row, RowChanger holds information about row: what columns of it is to
be used for updating, and what underlying base table column each
such column corresponds to. rowChanger)Overrides org. Implements org. Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method. |
| cursor | back to summary |
|---|---|
| private CursorResultSet cursor | |
| cursorName | back to summary |
|---|---|
| private final String cursorName | |
| next | back to summary |
|---|---|
| private boolean next | |
| rowLocation | back to summary |
|---|---|
| private RowLocation rowLocation | |
| sparseRow | back to summary |
|---|---|
| private ExecRow sparseRow | |
| target | back to summary |
|---|---|
| private CursorResultSet target | |
| CurrentOfResultSet | back to summary |
|---|---|
| pack-priv CurrentOfResultSet(String cursorName, Activation activation, int resultSetNumber) | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan.
| |
| finish | back to summary |
|---|---|
| public void finish() throws StandardException Overrides org. Implements org. Doc from org. Tells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). Will close the result set if it is not already closed.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() Implements org. Doc from org. Returns the current row of the result set. REMIND: eventually, this will only return the current row for result sets that need to return it; either some field in the activation or a parameter in the constructor will be used to signal that this needs to function. This will let us limit the number of live objects we are holding on to.
| |
| getCursor | back to summary |
|---|---|
| private void getCursor() throws StandardException Because the positioned operation only gets one location per execution, and the cursor could be completely different for each execution (closed and reopened, perhaps), we determine where caching the cursor could be applied. When cached, we check if the cursor was closed'd, and if so, throw it out and see if there's one in the cache with our name. | |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. If open and not returned yet, returns the row.
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() Implements org. This result set has its row location from the last fetch done. If it is closed, a null is returned.
| |
| getSparseRow | back to summary |
|---|---|
| private ExecRow getSparseRow(ExecRow row, int[] indexCols) throws StandardException Return a sparse heap row, based on a compact index row. | |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| markRowAsDeleted | back to summary |
|---|---|
| public void markRowAsDeleted() throws StandardException Overrides org. Implements org. Doc from org. Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method.
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. open a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |
| updateRow | back to summary |
|---|---|
| public void updateRow(ExecRow row, RowChanger rowChanger) throws StandardException Overrides org. Implements org. Doc from org. Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method.
| |