|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISqlJetBtreeIndexTable
Method Summary | |
---|---|
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)
|
Methods inherited from interface org.tmatesoft.sqljet.core.internal.table.ISqlJetBtreeTable |
---|
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 |
Method Detail |
---|
long lookup(boolean next, java.lang.Object... values) throws SqlJetException
next
- just check next index entryvalues
- the key values
SqlJetException
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |