public static class Predicates.AndOrPredicate extends Predicates.AbstractPredicate implements IndexAwarePredicate
| Constructor and Description |
|---|
Predicates.AndOrPredicate() |
Predicates.AndOrPredicate(boolean and,
Predicate... predicates) |
Predicates.AndOrPredicate(boolean and,
Predicate first,
Predicate second) |
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(DataInput in) |
String |
toString() |
void |
writeData(DataOutput out) |
getRealObjectpublic Predicates.AndOrPredicate()
public Predicates.AndOrPredicate(boolean and,
Predicate first,
Predicate second)
public Predicates.AndOrPredicate(boolean and,
Predicate... predicates)
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 void writeData(DataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(DataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic String toString()
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.