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) |
getRealObject
public 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 IndexAwarePredicate
public void collectAppliedIndexes(Set<Index> setAppliedIndexes, Map<Expression,Index> mapIndexes)
collectAppliedIndexes
in interface IndexAwarePredicate
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
public Set<MapEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
public Object getValue()
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.