Interface IBTreeVisitor
public interface IBTreeVisitor
The visitor visits all records where compare returns 0.
-
Method Summary
-
Method Details
-
compare
Compare the record against an internally held key. The comparison must be compatible with the one used for the btree. Used for visiting.- Parameters:
record-- Returns:
- -1 if record < key, 0 if record == key, 1 if record > key
- Throws:
IndexException
-
visit
Visit a given record and return whether to continue or not.- Returns:
trueto continue the visit,falseto abort it.- Throws:
IndexException
-