Class SqlJetMap
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.map.SqlJetMap
-
- All Implemented Interfaces:
ISqlJetMap
public class SqlJetMap extends java.lang.Object implements ISqlJetMap
-
-
Constructor Summary
Constructors Constructor Description SqlJetMap(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]get(java.lang.Object[] key)ISqlJetMapCursorgetCursor()ISqlJetMapIndexgetMapIndex()ISqlJetMapTablegetMapTable()voidput(java.lang.Object[] key, java.lang.Object[] value)
-
-
-
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:
getCursorin interfaceISqlJetMap- Returns:
- cursor instance
- Throws:
SqlJetException
-
put
public void put(java.lang.Object[] key, java.lang.Object[] value) throws SqlJetException- Specified by:
putin interfaceISqlJetMap- Throws:
SqlJetException
-
get
public java.lang.Object[] get(java.lang.Object[] key) throws SqlJetException- Specified by:
getin interfaceISqlJetMap- Returns:
- data stored with the key specified
- Throws:
SqlJetException
-
getMapTable
public ISqlJetMapTable getMapTable() throws SqlJetException
- Specified by:
getMapTablein interfaceISqlJetMap- Returns:
- Throws:
SqlJetException
-
getMapIndex
public ISqlJetMapIndex getMapIndex() throws SqlJetException
- Specified by:
getMapIndexin interfaceISqlJetMap- Throws:
SqlJetException
-
-