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
- SqlJetException
public ISqlJetMapTableCursor getMapTable() throws SqlJetException
getMapTable
in interface ISqlJetMapCursor
SqlJetException
public ISqlJetMapIndexCursor getMapIndex() throws SqlJetException
getMapIndex
in interface ISqlJetMapCursor
SqlJetException
public void close() throws SqlJetException
close
in interface ISqlJetMapCursor
SqlJetException
public java.lang.Object[] getKey() throws SqlJetException
getKey
in interface ISqlJetMapCursor
SqlJetException
public java.lang.Object[] getValue() throws SqlJetException
getValue
in interface ISqlJetMapCursor
SqlJetException
public boolean goToKey(java.lang.Object[] key) throws SqlJetException
goToKey
in interface ISqlJetMapCursor
key
- SqlJetException
public void put(java.lang.Object[] key, java.lang.Object[] value) throws SqlJetException
put
in interface ISqlJetMapCursor
key
- value
- SqlJetException
public boolean eof() throws SqlJetException
ISqlJetMapIterator
eof
in interface ISqlJetMapIterator
SqlJetException
public boolean first() throws SqlJetException
ISqlJetMapIterator
first
in interface ISqlJetMapIterator
SqlJetException
public boolean last() throws SqlJetException
ISqlJetMapIterator
last
in interface ISqlJetMapIterator
SqlJetException
public boolean next() throws SqlJetException
ISqlJetMapIterator
next
in interface ISqlJetMapIterator
SqlJetException
public boolean previous() throws SqlJetException
ISqlJetMapIterator
previous
in interface ISqlJetMapIterator
SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.