public class SqlJetMapCursor extends java.lang.Object implements ISqlJetMapCursor
| Constructor and Description |
|---|
SqlJetMapCursor(SqlJetMapDb mapDb,
ISqlJetBtree btree,
SqlJetMapDef mapDef,
boolean writable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
eof()
Tests whether this cursor is positioned behind the last record.
|
boolean |
first()
Goes to the first record.
|
java.lang.Object[] |
getKey() |
ISqlJetMapIndexCursor |
getMapIndex() |
ISqlJetMapTableCursor |
getMapTable() |
java.lang.Object[] |
getValue() |
boolean |
goToKey(java.lang.Object[] key) |
boolean |
last()
Goes to the last record.
|
boolean |
next()
Goes to the next record.
|
boolean |
previous()
Goes to the previous record.
|
void |
put(java.lang.Object[] key,
java.lang.Object[] value) |
public SqlJetMapCursor(SqlJetMapDb mapDb, ISqlJetBtree btree, SqlJetMapDef mapDef, boolean writable) throws SqlJetException
mapDb - btree - mapDef - writable - SqlJetExceptionpublic ISqlJetMapTableCursor getMapTable() throws SqlJetException
getMapTable in interface ISqlJetMapCursorSqlJetExceptionpublic ISqlJetMapIndexCursor getMapIndex() throws SqlJetException
getMapIndex in interface ISqlJetMapCursorSqlJetExceptionpublic void close()
throws SqlJetException
close in interface ISqlJetMapCursorSqlJetExceptionpublic java.lang.Object[] getKey()
throws SqlJetException
getKey in interface ISqlJetMapCursorSqlJetExceptionpublic java.lang.Object[] getValue()
throws SqlJetException
getValue in interface ISqlJetMapCursorSqlJetExceptionpublic boolean goToKey(java.lang.Object[] key)
throws SqlJetException
goToKey in interface ISqlJetMapCursorkey - SqlJetExceptionpublic void put(java.lang.Object[] key,
java.lang.Object[] value)
throws SqlJetException
put in interface ISqlJetMapCursorkey - value - SqlJetExceptionpublic boolean eof()
throws SqlJetException
ISqlJetMapIteratoreof in interface ISqlJetMapIteratorSqlJetExceptionpublic boolean first()
throws SqlJetException
ISqlJetMapIteratorfirst in interface ISqlJetMapIteratorSqlJetExceptionpublic boolean last()
throws SqlJetException
ISqlJetMapIteratorlast in interface ISqlJetMapIteratorSqlJetExceptionpublic boolean next()
throws SqlJetException
ISqlJetMapIteratornext in interface ISqlJetMapIteratorSqlJetExceptionpublic boolean previous()
throws SqlJetException
ISqlJetMapIteratorprevious in interface ISqlJetMapIteratorSqlJetException