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.Longget(java.lang.Object[] key)ISqlJetMapIndexCursorgetCursor()voidput(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:
getCursorin interfaceISqlJetMapIndex- Returns:
- cursor instance
- Throws:
SqlJetException
-
put
public void put(java.lang.Object[] key, java.lang.Long value) throws SqlJetException- Specified by:
putin interfaceISqlJetMapIndex- Throws:
SqlJetException
-
get
public java.lang.Long get(java.lang.Object[] key) throws SqlJetException- Specified by:
getin interfaceISqlJetMapIndex- Returns:
- data stored with the key specified
- Throws:
SqlJetException
-
-