Class SqlJetMapTableCursor
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
-
- org.tmatesoft.sqljet.core.internal.map.SqlJetMapTableCursor
-
- All Implemented Interfaces:
ISqlJetBtreeTable
,ISqlJetMapIterator
,ISqlJetMapTableCursor
public class SqlJetMapTableCursor extends SqlJetBtreeTable implements ISqlJetMapTableCursor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
SqlJetBtreeTable.State
-
-
Field Summary
-
Fields inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
btree, index, rootPage, write
-
-
Constructor Summary
Constructors Constructor Description SqlJetMapTableCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getKey()
java.lang.Object[]
getValue()
boolean
goToKey(long key)
long
put(long key, java.lang.Object... values)
-
Methods inherited from class org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
adjustKeyInfo, checkField, clear, clearRecordCache, close, delete, eof, first, getBlob, getCursor, getEncoding, getFieldsCount, getFieldType, getFloat, getInteger, getKeyInfo, getKeySize, getRecord, getString, getValue, getValueMem, getValues, getValueUncached, hasMoved, insert, isNull, last, lock, lockTable, moveTo, newRowId, newRowId, next, popState, previous, pushState, unlock
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.tmatesoft.sqljet.core.map.ISqlJetMapIterator
eof, first, last, next, previous
-
Methods inherited from interface org.tmatesoft.sqljet.core.map.ISqlJetMapTableCursor
close
-
-
-
-
Constructor Detail
-
SqlJetMapTableCursor
public SqlJetMapTableCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable) throws SqlJetException
- Parameters:
mapDb
-btree
-mapDef
-writable
-- Throws:
SqlJetException
-
-
Method Detail
-
getKey
public long getKey() throws SqlJetException
- Specified by:
getKey
in interfaceISqlJetMapTableCursor
- Returns:
- Throws:
SqlJetException
-
getValue
public java.lang.Object[] getValue() throws SqlJetException
- Specified by:
getValue
in interfaceISqlJetMapTableCursor
- Returns:
- Throws:
SqlJetException
-
goToKey
public boolean goToKey(long key) throws SqlJetException
- Specified by:
goToKey
in interfaceISqlJetMapTableCursor
- Parameters:
key
-- Returns:
- Throws:
SqlJetException
-
put
public long put(long key, java.lang.Object... values) throws SqlJetException
- Specified by:
put
in interfaceISqlJetMapTableCursor
- Parameters:
key
-value
-- Returns:
- Throws:
SqlJetException
-
-