public interface ISqlJetBtreeIndexTable extends ISqlJetBtreeTable
Modifier and Type | Method and Description |
---|---|
boolean |
checkKey(java.lang.Object... key)
Check current record against key.
|
int |
compareKey(java.lang.Object[] key) |
int |
compareKeys(java.lang.Object[] firstKey,
java.lang.Object[] lastKey) |
boolean |
delete(long rowId,
java.lang.Object... key)
Delete entry which matches to key and point to given rowId.
|
long |
getKeyRowId() |
void |
insert(long rowId,
boolean append,
java.lang.Object... key)
Writes key into the index.
|
long |
lookup(boolean next,
java.lang.Object... values)
Lookup index entry by key values.
|
long |
lookupLastNear(java.lang.Object[] key) |
long |
lookupNear(boolean next,
java.lang.Object[] key) |
clear, close, delete, eof, first, getBlob, getEncoding, getFieldsCount, getFieldType, getFloat, getInteger, getKeySize, getRecord, getString, getValue, getValues, hasMoved, insert, isNull, last, lock, lockTable, moveTo, newRowId, newRowId, next, popState, previous, pushState, unlock
long lookup(boolean next, java.lang.Object... values) throws SqlJetException
next
- just check next index entryvalues
- the key valuesSqlJetException
void insert(long rowId, boolean append, java.lang.Object... key) throws SqlJetException
rowId
- append
- key
- SqlJetException
boolean delete(long rowId, java.lang.Object... key) throws SqlJetException
rowId
- key
- SqlJetException
boolean checkKey(java.lang.Object... key) throws SqlJetException
key
- SqlJetException
long getKeyRowId() throws SqlJetException
SqlJetException
int compareKey(java.lang.Object[] key) throws SqlJetException
key
- SqlJetException
long lookupNear(boolean next, java.lang.Object[] key) throws SqlJetException
b
- key
- SqlJetException
long lookupLastNear(java.lang.Object[] key) throws SqlJetException
key
- SqlJetException
int compareKeys(java.lang.Object[] firstKey, java.lang.Object[] lastKey) throws SqlJetException
firstKey
- lastKey
- SqlJetException
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.