public class PredicateBuilder extends Object implements Predicate, IndexAwarePredicate
Constructor and Description |
---|
PredicateBuilder() |
Modifier and Type | Method and Description |
---|---|
PredicateBuilder |
and(Predicate predicate) |
boolean |
apply(MapEntry mapEntry) |
void |
collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes) |
boolean |
collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes) |
Set<MapEntry> |
filter(QueryContext queryContext) |
EntryObject |
getEntryObject() |
boolean |
isIndexed(QueryContext queryContext) |
PredicateBuilder |
or(Predicate predicate) |
String |
toString() |
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates, Map<Expression,Index> mapIndexes)
collectIndexAwarePredicates
in interface IndexAwarePredicate
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
public Set<MapEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
public void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
collectAppliedIndexes
in interface IndexAwarePredicate
public EntryObject getEntryObject()
public PredicateBuilder and(Predicate predicate)
public PredicateBuilder or(Predicate predicate)
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.