|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Key
- Value
- public interface IndexVisitor<Key,Value>
Interface used to selectively visit the entries in a BTree.
Method Summary | |
---|---|
boolean |
isInterestedInKeysBetween(Key first,
Key second,
java.util.Comparator comparator)
Do you want to visit the range of BTree entries between the first and and second key? |
boolean |
isSatiated()
|
void |
visit(java.util.List<Key> keys,
java.util.List<Value> values,
java.util.Comparator comparator)
The keys and values of an index node. |
Method Detail |
---|
boolean isInterestedInKeysBetween(Key first, Key second, java.util.Comparator comparator)
first
- if null indicates the range of values before the second key.second
- if null indicates the range of values after the first key.comparator
- the Comparator configured for the index, may be null.
void visit(java.util.List<Key> keys, java.util.List<Value> values, java.util.Comparator comparator)
keys
- comparator
- the Comparator configured for the index, may be null.values
- boolean isSatiated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |