com.hazelcast.query
Class PredicateBuilder
java.lang.Object
com.hazelcast.query.PredicateBuilder
- All Implemented Interfaces:
- IndexAwarePredicate, Predicate, Serializable
public class PredicateBuilder
- extends Object
- implements Predicate, IndexAwarePredicate
- See Also:
- Serialized Form
PredicateBuilder
public PredicateBuilder()
apply
public boolean apply(MapEntry mapEntry)
- Specified by:
apply
in interface Predicate
collectIndexAwarePredicates
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes)
- Specified by:
collectIndexAwarePredicates
in interface IndexAwarePredicate
isIndexed
public boolean isIndexed(QueryContext queryContext)
- Specified by:
isIndexed
in interface IndexAwarePredicate
filter
public Set<MapEntry> filter(QueryContext queryContext)
- Specified by:
filter
in interface IndexAwarePredicate
collectAppliedIndexes
public void collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes)
- Specified by:
collectAppliedIndexes
in interface IndexAwarePredicate
getEntryObject
public EntryObject getEntryObject()
and
public PredicateBuilder and(Predicate predicate)
or
public PredicateBuilder or(Predicate predicate)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.