public class TableScanCursor extends CursorImpl
CursorImpl.BaseIterator, CursorImpl.DirHandler, CursorImpl.IdImpl, CursorImpl.PositionImpl, CursorImpl.SavepointImplCursor.Id, Cursor.Position, Cursor.Savepoint_columnMatcher, _curPos, _prevPos, MOVE_FORWARD, MOVE_REVERSE| Constructor and Description |
|---|
TableScanCursor(TableImpl table) |
| Modifier and Type | Method and Description |
|---|---|
protected CursorImpl.PositionImpl |
findAnotherPosition(TableImpl.RowState rowState,
CursorImpl.PositionImpl curPos,
boolean moveForward)
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
false. |
protected com.healthmarketscience.jackcess.impl.TableScanCursor.ScanDirHandler |
getDirHandler(boolean moveForward)
Returns the DirHandler for the given movement direction.
|
protected CursorImpl.PositionImpl |
getRowPosition(RowIdImpl rowId)
Returns the appropriate position information for the given row (which is
the current row and is valid).
|
protected boolean |
isUpToDate()
Returns
true if this cursor is up-to-date with respect to the
relevant table and related table objects, false otherwise. |
protected void |
reset(boolean moveForward)
Resets this cursor for traversing the given direction.
|
protected void |
restorePositionImpl(CursorImpl.PositionImpl curPos,
CursorImpl.PositionImpl prevPos)
Restores a current and previous position for the cursor.
|
afterLast, beforeFirst, createCursor, currentRowMatches, currentRowMatches, currentRowMatches, currentRowMatchesImpl, currentRowMatchesImpl, deleteCurrentRow, findAnotherRow, findAnotherRow, findAnotherRowImpl, findAnotherRowImpl, findFirstRow, findFirstRow, findFirstRow, findNextRow, findNextRow, findNextRow, findRow, getColumnMatcher, getCurrentRow, getCurrentRow, getCurrentRowValue, getCurrentRowValue, getDefaultColumnMatcher, getErrorHandler, getFirstPosition, getFormat, getId, getLastPosition, getNextRow, getNextRow, getPageChannel, getPreviousRow, getPreviousRow, getRowState, getSavepoint, getTable, isAfterLast, isAtBeginning, isBeforeFirst, isCurrentRowDeleted, isCurrentRowValid, iterator, iterator, keepSearching, moveNextRows, movePreviousRows, moveToAnotherRow, moveToNextRow, moveToPreviousRow, newIterable, prepareSearchInfo, prepareSearchInfo, reset, restorePosition, restorePosition, restoreSavepoint, restoreSavepoint, setColumnMatcher, setCurrentRowValue, setCurrentRowValue, setErrorHandler, toString, updateCurrentRow, updateCurrentRowFromMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic TableScanCursor(TableImpl table)
protected com.healthmarketscience.jackcess.impl.TableScanCursor.ScanDirHandler getDirHandler(boolean moveForward)
CursorImplgetDirHandler in class CursorImplprotected boolean isUpToDate()
CursorImpltrue if this cursor is up-to-date with respect to the
relevant table and related table objects, false otherwise.isUpToDate in class CursorImplprotected void reset(boolean moveForward)
CursorImplreset in class CursorImplprotected void restorePositionImpl(CursorImpl.PositionImpl curPos, CursorImpl.PositionImpl prevPos) throws IOException
CursorImplrestorePositionImpl in class CursorImplIOExceptionprotected CursorImpl.PositionImpl getRowPosition(RowIdImpl rowId) throws IOException
CursorImplgetRowPosition in class CursorImplIOExceptionprotected CursorImpl.PositionImpl findAnotherPosition(TableImpl.RowState rowState, CursorImpl.PositionImpl curPos, boolean moveForward) throws IOException
CursorImplfalse. If there are no more rows, the returned
rowId should equal the value returned by CursorImpl.getLastPosition() if
moving forward and CursorImpl.getFirstPosition() if moving backward.findAnotherPosition in class CursorImplIOExceptionCopyright © 2005–2016. All rights reserved.