Class SqlJetMapIndexCursor
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
-
- org.tmatesoft.sqljet.core.internal.map.SqlJetMapIndexCursor
-
- All Implemented Interfaces:
ISqlJetBtreeTable
,ISqlJetMapIndexCursor
,ISqlJetMapIterator
public class SqlJetMapIndexCursor extends SqlJetBtreeTable implements ISqlJetMapIndexCursor
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
-
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 SqlJetMapIndexCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, ISqlJetIndexDef indexDef, boolean writable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
getKey()
java.lang.Long
getValue()
boolean
goToKey(java.lang.Object[] key)
void
put(java.lang.Object[] key, java.lang.Long value)
-
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.ISqlJetMapIndexCursor
close
-
-
-
-
Constructor Detail
-
SqlJetMapIndexCursor
public SqlJetMapIndexCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, ISqlJetIndexDef indexDef, boolean writable) throws SqlJetException
- Parameters:
mapDb
-btree
-mapTableDef
-writable
-- Throws:
SqlJetException
-
-
Method Detail
-
getKey
public java.lang.Object[] getKey() throws SqlJetException
- Specified by:
getKey
in interfaceISqlJetMapIndexCursor
- Returns:
- Throws:
SqlJetException
-
getValue
public java.lang.Long getValue() throws SqlJetException
- Specified by:
getValue
in interfaceISqlJetMapIndexCursor
- Returns:
- Throws:
SqlJetException
-
goToKey
public boolean goToKey(java.lang.Object[] key) throws SqlJetException
- Specified by:
goToKey
in interfaceISqlJetMapIndexCursor
- Parameters:
key
-- Returns:
- Throws:
SqlJetException
-
put
public void put(java.lang.Object[] key, java.lang.Long value) throws SqlJetException
- Specified by:
put
in interfaceISqlJetMapIndexCursor
- Parameters:
key
-value
-- Throws:
SqlJetException
-
-