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 ClassesModifier and TypeInterfaceDescriptionstatic classstatic 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 classstatic interfacestatic class -
Method Summary
-
Method Details
-
isInterestedInKeysBetween
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.
-
visit
The keys and values of a BTree leaf node.- Parameters:
keys-values-
-