org.tmatesoft.sqljet.core.internal.map
Class SqlJetMapTableCursor

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeTable
      extended by 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
SqlJetMapTableCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable)
           
 
Method Summary
 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
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.ISqlJetMapTableCursor
close
 
Methods inherited from interface org.tmatesoft.sqljet.core.map.ISqlJetMapIterator
eof, first, last, next, previous
 

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 interface ISqlJetMapTableCursor
Returns:
Throws:
SqlJetException

getValue

public java.lang.Object[] getValue()
                            throws SqlJetException
Specified by:
getValue in interface ISqlJetMapTableCursor
Returns:
Throws:
SqlJetException

goToKey

public boolean goToKey(long key)
                throws SqlJetException
Specified by:
goToKey in interface ISqlJetMapTableCursor
Parameters:
key -
Returns:
Throws:
SqlJetException

put

public long put(long key,
                java.lang.Object... values)
         throws SqlJetException
Specified by:
put in interface ISqlJetMapTableCursor
Parameters:
key -
value -
Returns:
Throws:
SqlJetException