| Modifier and Type | Class and Description |
|---|---|
| private class | TableScanCursor.
Handles moving the table scan cursor forward. |
| private class | TableScanCursor.
Handles moving the table scan cursor backward. |
| private abstract static class | TableScanCursor.
Handles moving the table scan cursor in a given direction. |
| private static class | TableScanCursor.
Value object which maintains the current position of a TableScanCursor. |
| Modifier and Type | Field and Description |
|---|---|
| private static final TableScanCursor. | FIRST_SCAN_POSITION
first position for the TableScanCursor |
| private final TableScanCursor. | forwardDirHandler
ScanDirHandler for forward traversal |
| private static final TableScanCursor. | LAST_SCAN_POSITION
last position for the TableScanCursor |
| private final UsageMap. | ownedPagesCursor
Cursor over the pages that this table owns |
| private final TableScanCursor. | reverseDirHandler
ScanDirHandler for backward traversal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected CursorImpl. | findAnotherPosition(TableImpl.
Implements abstract io. Finds the next non-deleted row after the given row (as defined by this cursor) and returns the id of the row,
where "next" may be backwards if moveForward is |
| protected TableScanCursor. | getDirHandler(boolean moveForward)
Implements abstract io. Returns the DirHandler for the given movement direction. |
| protected CursorImpl. | getRowPosition(RowIdImpl rowId)
Implements abstract io. Returns the appropriate position information for the given row (which is the current row and is valid). |
| protected boolean | isUpToDate()
Overrides io. Returns |
| protected void | reset(boolean moveForward)
Overrides io. Resets this cursor for traversing the given direction. |
| protected void | restorePositionImpl(CursorImpl.
Overrides io. Restores a current and previous position for the cursor. |
| FIRST_SCAN_POSITION | back to summary |
|---|---|
| private static final TableScanCursor. first position for the TableScanCursor | |
| forwardDirHandler | back to summary |
|---|---|
| private final TableScanCursor. ScanDirHandler for forward traversal | |
| LAST_SCAN_POSITION | back to summary |
|---|---|
| private static final TableScanCursor. last position for the TableScanCursor | |
| ownedPagesCursor | back to summary |
|---|---|
| private final UsageMap. Cursor over the pages that this table owns | |
| reverseDirHandler | back to summary |
|---|---|
| private final TableScanCursor. ScanDirHandler for backward traversal | |
| TableScanCursor | back to summary |
|---|---|
| public TableScanCursor(TableImpl table) | |
| findAnotherPosition | back to summary |
|---|---|
| protected CursorImpl. Implements abstract io. Doc from io. Finds the next non-deleted row after the given row (as defined by this cursor) and returns the id of the row,
where "next" may be backwards if moveForward is
| |
| getDirHandler | back to summary |
|---|---|
| protected TableScanCursor. Implements abstract io. Doc from io. Returns the DirHandler for the given movement direction.
| |
| getRowPosition | back to summary |
|---|---|
| protected CursorImpl. Implements abstract io. Doc from io. Returns the appropriate position information for the given row (which is the current row and is valid).
| |
| isUpToDate | back to summary |
|---|---|
| protected boolean isUpToDate() Overrides io. Doc from io. Returns
| |
| reset | back to summary |
|---|---|
| protected void reset(boolean moveForward) Overrides io. Doc from io. Resets this cursor for traversing the given direction.
| |
| restorePositionImpl | back to summary |
|---|---|
| protected void restorePositionImpl(CursorImpl. Overrides io. Doc from io. Restores a current and previous position for the cursor.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | getAnotherRowNumber(int curRowNumber)
Implements abstract io.
|
| public CursorImpl. | |
| public CursorImpl. | getEndPosition()
Implements abstract io.
|
| public int | getInitialRowNumber(int rowsOnPage)
Implements abstract io.
|
| ForwardScanDirHandler | back to summary |
|---|---|
| private ForwardScanDirHandler() | |
| getAnotherPageNumber | back to summary |
|---|---|
| public int getAnotherPageNumber() Implements abstract io.
| |
| getAnotherRowNumber | back to summary |
|---|---|
| public int getAnotherRowNumber(int curRowNumber) Implements abstract io.
| |
| getBeginningPosition | back to summary |
|---|---|
| public CursorImpl. Implements abstract io.
| |
| getEndPosition | back to summary |
|---|---|
| public CursorImpl. Implements abstract io.
| |
| getInitialRowNumber | back to summary |
|---|---|
| public int getInitialRowNumber(int rowsOnPage) Implements abstract io.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | getAnotherRowNumber(int curRowNumber)
Implements abstract io.
|
| public CursorImpl. | |
| public CursorImpl. | getEndPosition()
Implements abstract io.
|
| public int | getInitialRowNumber(int rowsOnPage)
Implements abstract io.
|
| ReverseScanDirHandler | back to summary |
|---|---|
| private ReverseScanDirHandler() | |
| getAnotherPageNumber | back to summary |
|---|---|
| public int getAnotherPageNumber() Implements abstract io.
| |
| getAnotherRowNumber | back to summary |
|---|---|
| public int getAnotherRowNumber(int curRowNumber) Implements abstract io.
| |
| getBeginningPosition | back to summary |
|---|---|
| public CursorImpl. Implements abstract io.
| |
| getEndPosition | back to summary |
|---|---|
| public CursorImpl. Implements abstract io.
| |
| getInitialRowNumber | back to summary |
|---|---|
| public int getInitialRowNumber(int rowsOnPage) Implements abstract io.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | |
| public abstract int | |
| public abstract int |
| ScanDirHandler | back to summary |
|---|---|
| private ScanDirHandler() | |
| getAnotherPageNumber | back to summary |
|---|---|
| public abstract int getAnotherPageNumber() | |
| getAnotherRowNumber | back to summary |
|---|---|
| public abstract int getAnotherRowNumber(int curRowNumber) | |
| getInitialRowNumber | back to summary |
|---|---|
| public abstract int getInitialRowNumber(int rowsOnPage) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | equalsImpl(Object o)
Implements abstract io. Returns |
| public RowIdImpl | getRowId()
Implements abstract io. Implements io. Returns the unique RowId of the position of the cursor. |
| public String |
| rowId | back to summary |
|---|---|
| private final RowIdImpl rowId | |
| ScanPosition | back to summary |
|---|---|
| private ScanPosition(RowIdImpl rowId) | |
| equalsImpl | back to summary |
|---|---|
| protected boolean equalsImpl(Object o) Implements abstract io. Doc from io. Returns
| |
| getRowId | back to summary |
|---|---|
| public RowIdImpl getRowId() Implements abstract io. Implements io. Doc from io. Returns the unique RowId of the position of the cursor.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |