Class SqlJetMapCursor
java.lang.Object
org.tmatesoft.sqljet.core.internal.map.SqlJetMapCursor
- All Implemented Interfaces:
ISqlJetMapCursor,ISqlJetMapIterator
-
Constructor Summary
ConstructorsConstructorDescriptionSqlJetMapCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleaneof()Tests whether this cursor is positioned behind the last record.booleanfirst()Goes to the first record.Object[]getKey()Object[]getValue()booleanbooleanlast()Goes to the last record.booleannext()Goes to the next record.booleanprevious()Goes to the previous record.void
-
Constructor Details
-
SqlJetMapCursor
public SqlJetMapCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable) throws SqlJetException - Parameters:
mapDb-btree-mapDef-writable-- Throws:
SqlJetException
-
-
Method Details
-
getMapTable
- Specified by:
getMapTablein interfaceISqlJetMapCursor- Returns:
- Throws:
SqlJetException
-
getMapIndex
- Specified by:
getMapIndexin interfaceISqlJetMapCursor- Throws:
SqlJetException
-
close
- Specified by:
closein interfaceISqlJetMapCursor- Throws:
SqlJetException
-
getKey
- Specified by:
getKeyin interfaceISqlJetMapCursor- Returns:
- Throws:
SqlJetException
-
getValue
- Specified by:
getValuein interfaceISqlJetMapCursor- Returns:
- Throws:
SqlJetException
-
goToKey
- Specified by:
goToKeyin interfaceISqlJetMapCursor- Parameters:
key-- Returns:
- Throws:
SqlJetException
-
put
- Specified by:
putin interfaceISqlJetMapCursor- Parameters:
key-value-- Throws:
SqlJetException
-
eof
Description copied from interface:ISqlJetMapIteratorTests whether this cursor is positioned behind the last record.- Specified by:
eofin interfaceISqlJetMapIterator- Returns:
- true if the cursor is not on a record and fields can't be read.
- Throws:
SqlJetException
-
first
Description copied from interface:ISqlJetMapIteratorGoes to the first record.- Specified by:
firstin interfaceISqlJetMapIterator- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
last
Description copied from interface:ISqlJetMapIteratorGoes to the last record.- Specified by:
lastin interfaceISqlJetMapIterator- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
next
Description copied from interface:ISqlJetMapIteratorGoes to the next record.- Specified by:
nextin interfaceISqlJetMapIterator- Returns:
- true if there is at least one record and end of cursor is not reached yet
- Throws:
SqlJetException
-
previous
Description copied from interface:ISqlJetMapIteratorGoes to the previous record.- Specified by:
previousin interfaceISqlJetMapIterator- Returns:
- true if there is at least one record and begin of cursor is not reached yet
- Throws:
SqlJetException
-