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, unlocklong lookup(boolean next,
java.lang.Object... values)
throws SqlJetException
next - just check next index entryvalues - the key valuesSqlJetExceptionvoid insert(long rowId,
boolean append,
java.lang.Object... key)
throws SqlJetException
rowId - append - key - SqlJetExceptionboolean delete(long rowId,
java.lang.Object... key)
throws SqlJetException
rowId - key - SqlJetExceptionboolean checkKey(java.lang.Object... key)
throws SqlJetException
key - SqlJetExceptionlong getKeyRowId()
throws SqlJetException
SqlJetExceptionint compareKey(java.lang.Object[] key)
throws SqlJetException
key - SqlJetExceptionlong lookupNear(boolean next,
java.lang.Object[] key)
throws SqlJetException
b - key - SqlJetExceptionlong lookupLastNear(java.lang.Object[] key)
throws SqlJetException
key - SqlJetExceptionint compareKeys(java.lang.Object[] firstKey,
java.lang.Object[] lastKey)
throws SqlJetException
firstKey - lastKey - SqlJetException