Class SqlJetMapIndex
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.map.SqlJetMapIndex
-
- All Implemented Interfaces:
ISqlJetMapIndex
public class SqlJetMapIndex extends java.lang.Object implements ISqlJetMapIndex
-
-
Constructor Summary
Constructors Constructor Description SqlJetMapIndex(SqlJetMapDb mapDb, ISqlJetBtree btree, ISqlJetIndexDef indexDef, boolean writable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
get(java.lang.Object[] key)
ISqlJetMapIndexCursor
getCursor()
void
put(java.lang.Object[] key, java.lang.Long value)
-
-
-
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 interfaceISqlJetMapIndex
- Returns:
- cursor instance
- Throws:
SqlJetException
-
put
public void put(java.lang.Object[] key, java.lang.Long value) throws SqlJetException
- Specified by:
put
in interfaceISqlJetMapIndex
- Throws:
SqlJetException
-
get
public java.lang.Long get(java.lang.Object[] key) throws SqlJetException
- Specified by:
get
in interfaceISqlJetMapIndex
- Returns:
- data stored with the key specified
- Throws:
SqlJetException
-
-