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

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

public class SqlJetMap
extends java.lang.Object
implements ISqlJetMap


Constructor Summary
SqlJetMap(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable)
           
 
Method Summary
 java.lang.Object[] get(java.lang.Object[] key)
           
 ISqlJetMapCursor getCursor()
           
 ISqlJetMapIndex getMapIndex()
           
 ISqlJetMapTable getMapTable()
           
 void put(java.lang.Object[] key, java.lang.Object[] value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlJetMap

public SqlJetMap(SqlJetMapDb mapDb,
                 ISqlJetBtree btree,
                 SqlJetMapDef mapDef,
                 boolean writable)
Parameters:
mapDb -
btree -
mapDef -
writable -
Method Detail

getCursor

public ISqlJetMapCursor getCursor()
                           throws SqlJetException
Specified by:
getCursor in interface ISqlJetMap
Returns:
cursor instance
Throws:
SqlJetException

put

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

get

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

getMapTable

public ISqlJetMapTable getMapTable()
                            throws SqlJetException
Specified by:
getMapTable in interface ISqlJetMap
Returns:
Throws:
SqlJetException

getMapIndex

public ISqlJetMapIndex getMapIndex()
                            throws SqlJetException
Specified by:
getMapIndex in interface ISqlJetMap
Throws:
SqlJetException