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

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.map.SqlJetMapIndex
All Implemented Interfaces:
ISqlJetMapIndex

public class SqlJetMapIndex
extends java.lang.Object
implements ISqlJetMapIndex


Constructor Summary
SqlJetMapIndex(SqlJetMapDb mapDb, ISqlJetBtree btree, ISqlJetIndexDef indexDef, boolean writable)
           
 
Method Summary
 java.lang.Long get(java.lang.Object[] key)
           
 ISqlJetMapIndexCursor getCursor()
           
 void put(java.lang.Object[] key, java.lang.Long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlJetMapIndex

public SqlJetMapIndex(SqlJetMapDb mapDb,
                      ISqlJetBtree btree,
                      ISqlJetIndexDef indexDef,
                      boolean writable)
Parameters:
mapDb -
btree -
mapTableDef -
writable -
Method Detail

getCursor

public ISqlJetMapIndexCursor getCursor()
                                throws SqlJetException
Specified by:
getCursor in interface ISqlJetMapIndex
Returns:
cursor instance
Throws:
SqlJetException

put

public void put(java.lang.Object[] key,
                java.lang.Long value)
         throws SqlJetException
Specified by:
put in interface ISqlJetMapIndex
Throws:
SqlJetException

get

public java.lang.Long get(java.lang.Object[] key)
                   throws SqlJetException
Specified by:
get in interface ISqlJetMapIndex
Returns:
data stored with the key specified
Throws:
SqlJetException