Package | Description |
---|---|
com.hazelcast.query |
Contains interfaces/classes related to Hazelcast query and indexing support.
|
com.hazelcast.query.impl.predicates |
Modifier and Type | Method and Description |
---|---|
Predicate |
PagingPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
VisitablePredicate.accept(Visitor visitor,
Indexes indexes)
Accept visitor.
|
Predicate |
SqlPredicate.accept(Visitor visitor,
Indexes indexes) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVisitor
Base class for all visitors.
|
class |
CompositeIndexVisitor
Optimizes single-attribute predicates into composite index predicates.
|
class |
EvaluateVisitor
Tries to divide the predicate tree into isolated subtrees every of which can
be evaluated by
Index.evaluate(com.hazelcast.query.Predicate) method in a single go. |
class |
FlatteningVisitor
Rewrites predicates:
1.
|
class |
OrToInVisitor
Transforms predicate (attribute = 1 or attribute = 2 or attribute = 3) into
(attribute in (1, 2, 3)
InPredicate is easier to evaluate in both indexed and non-indexed scenarios.
|
class |
RangeVisitor
Performs range predicates optimization.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
BetweenPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
EqualPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
InPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
NotEqualPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
OrPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
NotPredicate.accept(Visitor visitor,
Indexes indexes) |
Predicate |
AndPredicate.accept(Visitor visitor,
Indexes indexes) |
static Predicate[] |
VisitorUtils.acceptVisitor(Predicate[] predicates,
Visitor visitor,
Indexes indexes)
Accept visitor by all predicates.
|
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.