public static class BTreeVisitor.OrVisitor<Key,Value> extends BTreeVisitor.PredicateVisitor<Key,Value>
BTreeVisitor.AndVisitor<Key,Value>, BTreeVisitor.BetweenVisitor<Key extends Comparable<Key>,Value>, BTreeVisitor.GTEVisitor<Key extends Comparable<Key>,Value>, BTreeVisitor.GTVisitor<Key extends Comparable<Key>,Value>, BTreeVisitor.LTEVisitor<Key extends Comparable<Key>,Value>, BTreeVisitor.LTVisitor<Key extends Comparable<Key>,Value>, BTreeVisitor.OrVisitor<Key,Value>, BTreeVisitor.Predicate<Key>, BTreeVisitor.PredicateVisitor<Key,Value>
Constructor and Description |
---|
OrVisitor(List<BTreeVisitor.Predicate<Key>> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
isInterestedInKey(Key key) |
boolean |
isInterestedInKeysBetween(Key first,
Key second)
Do you want to visit the range of BTree entries between the first and and second key?
|
String |
toString() |
matched, visit
public OrVisitor(List<BTreeVisitor.Predicate<Key>> conditions)
public boolean isInterestedInKeysBetween(Key first, Key second)
BTreeVisitor
first
- if null indicates the range of values before the second key.second
- if null indicates the range of values after the first key.public boolean isInterestedInKey(Key key)
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.