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

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

public class SqlJetMapTable
extends java.lang.Object
implements ISqlJetMapTable


Constructor Summary
SqlJetMapTable(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable)
           
 
Method Summary
 java.lang.Object[] get(long key)
           
 ISqlJetMapTableCursor getCursor()
           
 long put(long key, java.lang.Object... values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlJetMapTable

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

getCursor

public ISqlJetMapTableCursor getCursor()
                                throws SqlJetException
Specified by:
getCursor in interface ISqlJetMapTable
Returns:
cursor instance
Throws:
SqlJetException

put

public long put(long key,
                java.lang.Object... values)
         throws SqlJetException
Specified by:
put in interface ISqlJetMapTable
Returns:
data entry id
Throws:
SqlJetException

get

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