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 |
BetweenVisitor
Replaces expression from (age >= X and age <= Y) into (age between X Y)
It detects some predicates which are trivally false.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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 © 2018 Hazelcast, Inc.. All Rights Reserved.