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 IndexAwarePredicatepublic boolean isIndexed(QueryContext queryContext)
isIndexed in interface IndexAwarePredicatepublic Set<MapEntry> filter(QueryContext queryContext)
filter in interface IndexAwarePredicatepublic void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
collectAppliedIndexes in interface IndexAwarePredicatepublic EntryObject getEntryObject()
public PredicateBuilder and(Predicate predicate)
public PredicateBuilder or(Predicate predicate)
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.