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 |
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 |
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 |
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 © 2019 Hazelcast, Inc.. All Rights Reserved.