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) |
getRealObject
public 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 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 void writeData(DataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public void readData(DataInput in) throws IOException
readData
in interface DataSerializable
IOException
public String toString()
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.