public class RangeVisitor extends AbstractVisitor
The basic idea is to reduce all predicates for a certain attribute into a single predicate verifying its satisfiability on the go. For instance:
CompositeIndexVisitor is highly dependent on the work of this class
and assumes that predicates fed into it are already range-optimized.| Constructor and Description |
|---|
RangeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
visit(AndPredicate predicate,
Indexes indexes) |
Predicate |
visit(BetweenPredicate predicate,
Indexes indexes) |
visit, visitpublic Predicate visit(AndPredicate predicate, Indexes indexes)
visit in interface Visitorvisit in class AbstractVisitorpublic Predicate visit(BetweenPredicate predicate, Indexes indexes)
visit in interface Visitorvisit in class AbstractVisitorCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.