-
Method Summary
boolean
Check current record against key.
int
int
boolean
Delete entry which matches to key and point to given rowId.
long
void
Writes key into the index.
long
Lookup index entry by key values.
long
long
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 Details
-
lookup
Lookup index entry by key values. If 'next' is true then just check next entry in index.
- Parameters:
next
- just check next index entry
values
- the key values
- Returns:
- Throws:
SqlJetException
-
insert
Writes key into the index. Data for the entry is nil.
Append flag that provides a hint to the b-tree layer that this insert is
likely to be an append.
- Parameters:
rowId
-
append
-
key
-
- Throws:
SqlJetException
-
delete
Delete entry which matches to key and point to given rowId.
- Parameters:
rowId
-
key
-
- Returns:
- true if there was deleted entry which matches to key.
- Throws:
SqlJetException
-
checkKey
Check current record against key.
- Parameters:
key
-
- Returns:
- Throws:
SqlJetException
-
-
-
-
-
compareKeys
- Parameters:
firstKey
-
lastKey
-
- Returns:
- Throws:
SqlJetException