public static class Predicates.EqualPredicate extends Predicates.AbstractPredicate implements IndexAwarePredicate
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
secondIsExpression |
| Constructor and Description |
|---|
Predicates.EqualPredicate() |
Predicates.EqualPredicate(Expression first,
Expression second) |
Predicates.EqualPredicate(Expression first,
Object second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(MapEntry entry) |
void |
collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes) |
boolean |
collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes) |
protected boolean |
doApply(Object first,
Object second) |
Set<MapEntry> |
filter(QueryContext queryContext) |
protected static Object |
getConvertedRealValue(Object firstValue,
Object value) |
Object |
getValue() |
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(DataInput in) |
String |
toString() |
void |
writeData(DataOutput out) |
getRealObjectpublic Predicates.EqualPredicate()
public Predicates.EqualPredicate(Expression first, Expression second)
public Predicates.EqualPredicate(Expression first, Object second)
protected static Object getConvertedRealValue(Object firstValue, Object value)
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates, Map<Expression,Index> mapIndexes)
collectIndexAwarePredicates in interface IndexAwarePredicatepublic void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
collectAppliedIndexes in interface IndexAwarePredicatepublic boolean isIndexed(QueryContext queryContext)
isIndexed in interface IndexAwarePredicatepublic Set<MapEntry> filter(QueryContext queryContext)
filter in interface IndexAwarePredicatepublic Object getValue()
public 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.