Interface BTreeVisitor<Key,Value>
-
- Type Parameters:
Key-Value-
- All Known Implementing Classes:
BTreeVisitor.AndVisitor,BTreeVisitor.BetweenVisitor,BTreeVisitor.GTEVisitor,BTreeVisitor.GTVisitor,BTreeVisitor.LTEVisitor,BTreeVisitor.LTVisitor,BTreeVisitor.OrVisitor,BTreeVisitor.PredicateVisitor
public interface BTreeVisitor<Key,Value>Interface used to selectively visit the entries in a BTree.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBTreeVisitor.AndVisitor<Key,Value>static classBTreeVisitor.BetweenVisitor<Key extends Comparable<Key>,Value>static classBTreeVisitor.GTEVisitor<Key extends Comparable<Key>,Value>static classBTreeVisitor.GTVisitor<Key extends Comparable<Key>,Value>static classBTreeVisitor.LTEVisitor<Key extends Comparable<Key>,Value>static classBTreeVisitor.LTVisitor<Key extends Comparable<Key>,Value>static classBTreeVisitor.OrVisitor<Key,Value>static interfaceBTreeVisitor.Predicate<Key>static classBTreeVisitor.PredicateVisitor<Key,Value>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisInterestedInKeysBetween(Key first, Key second)Do you want to visit the range of BTree entries between the first and and second key?voidvisit(List<Key> keys, List<Value> values)The keys and values of a BTree leaf node.
-
-
-
Method Detail
-
isInterestedInKeysBetween
boolean isInterestedInKeysBetween(Key first, Key second)
Do you want to visit the range of BTree entries between the first and and second key?- Parameters:
first- if null indicates the range of values before the second key.second- if null indicates the range of values after the first key.- Returns:
- true if you want to visit the values between the first and second key.
-
-