Class SqlJetIndexOrderCursor
java.lang.Object
org.tmatesoft.sqljet.core.internal.table.SqlJetCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetRowNumCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor
org.tmatesoft.sqljet.core.internal.table.SqlJetIndexOrderCursor
- All Implemented Interfaces:
ISqlJetCursor
- Direct Known Subclasses:
SqlJetIndexScopeCursor
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Field Summary
FieldsFields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor
btreeTable, db -
Constructor Summary
ConstructorsConstructorDescriptionSqlJetIndexOrderCursor(ISqlJetBtreeDataTable table, SqlJetDb db, String indexName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcomputeRows(boolean current) voiddelete()Deletes the current record.booleaneof()Tests whether this cursor is positioned behind the last record.booleanfirst()Goes to the first record.booleanlast()Goes to the last record.booleannext()Goes to the next record.booleanprevious()Goes to the previous record.Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor
getBlobAsArray, getBlobAsStream, getBoolean, getBtreeDataTable, getFieldType, getFloat, getInteger, getRowId, getRowValues, getString, getValue, goTo, isNull, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOrMethods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetRowNumCursor
firstRowNum, getLimit, getRowCount, getRowIndex, goToRow, lastRowNum, nextRowNum, previousRowNum, setLimitMethods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetCursor
close, getBlobAsArray, getBlobAsStream, getBoolean, getFieldsCount, getFieldType, getFloat, getInteger, getString, getValue, isNull, reverseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tmatesoft.sqljet.core.table.ISqlJetCursor
close, getBlobAsArray, getBlobAsArray, getBlobAsStream, getBlobAsStream, getBoolean, getBoolean, getFieldsCount, getFieldType, getFieldType, getFloat, getFloat, getInteger, getInteger, getLimit, getRowCount, getRowId, getRowIndex, getRowValues, getString, getString, getValue, getValue, goTo, goToRow, isNull, isNull, reverse, setLimit, update, updateByFieldNames, updateByFieldNamesOr, updateOr, updateWithRowId, updateWithRowIdOr
-
Field Details
-
indexName
-
indexTable
-
-
Constructor Details
-
SqlJetIndexOrderCursor
public SqlJetIndexOrderCursor(ISqlJetBtreeDataTable table, SqlJetDb db, String indexName) throws SqlJetException - Parameters:
table-db-- Throws:
SqlJetException
-
-
Method Details
-
first
Description copied from interface:ISqlJetCursorGoes to the first record.- Specified by:
firstin interfaceISqlJetCursor- Overrides:
firstin classSqlJetRowNumCursor- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
next
Description copied from interface:ISqlJetCursorGoes to the next record.- Specified by:
nextin interfaceISqlJetCursor- Overrides:
nextin classSqlJetRowNumCursor- Returns:
- true if there is at least one record and end of cursor is not reached yet
- Throws:
SqlJetException
-
eof
Description copied from interface:ISqlJetCursorTests whether this cursor is positioned behind the last record.- Specified by:
eofin interfaceISqlJetCursor- Overrides:
eofin classSqlJetRowNumCursor- Returns:
- true if the cursor is not on a record and fields can't be read.
- Throws:
SqlJetException
-
last
Description copied from interface:ISqlJetCursorGoes to the last record.- Specified by:
lastin interfaceISqlJetCursor- Overrides:
lastin classSqlJetRowNumCursor- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
previous
Description copied from interface:ISqlJetCursorGoes to the previous record.- Specified by:
previousin interfaceISqlJetCursor- Overrides:
previousin classSqlJetRowNumCursor- Returns:
- true if there is at least one record and begin of cursor is not reached yet
- Throws:
SqlJetException
-
delete
Description copied from interface:ISqlJetCursorDeletes the current record.- Specified by:
deletein interfaceISqlJetCursor- Overrides:
deletein classSqlJetTableDataCursor- Throws:
SqlJetException
-
computeRows
- Overrides:
computeRowsin classSqlJetRowNumCursor- Throws:
SqlJetException
-