|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimpleBTree
Interface for non-batch operations on a B+-Tree mapping non-null variable length unsigned byte[] keys to arbitrary values.
UnicodeKeyBuilder, which may be used to encode one or more primitive
data type values or Unicode strings into a variable length unsigned
byte[] key.| Method Summary | |
|---|---|
boolean |
contains(byte[] key)
Return true iff there is a (non-deleted) index entry for
the key. |
byte[] |
insert(byte[] key,
byte[] value)
Insert or update a value under the key. |
byte[] |
lookup(byte[] key)
Lookup a value for a key. |
byte[] |
remove(byte[] key)
Remove the key and its associated value. |
| Method Detail |
|---|
byte[] insert(byte[] key,
byte[] value)
key - The key.value - The value (may be null).
null if the
key was not found or if the previous entry for that key was
marked as deleted.byte[] lookup(byte[] key)
null if there
is no entry for that key or if the entry under that key is marked
as deleted.boolean contains(byte[] key)
true iff there is a (non-deleted) index entry for
the key. An index entry with a null value will cause this
method to return true. A deleted index entry will cause
this method to return false.
key - The key.
true if the index contains an (un-deleted) entry
for that key.byte[] remove(byte[] key)
key - The key.
null if the key
was not found or if the previous entry under that key was marked
as deleted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||