com.hazelcast.query
Class Predicates.EqualPredicate
java.lang.Object
SerializationHelper
com.hazelcast.query.Predicates.AbstractPredicate
com.hazelcast.query.Predicates.EqualPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
- Direct Known Subclasses:
- Predicates.BetweenPredicate, Predicates.GreaterLessPredicate, Predicates.NotEqualPredicate
- Enclosing class:
- Predicates
public static class Predicates.EqualPredicate
- extends Predicates.AbstractPredicate
- implements IndexAwarePredicate
secondIsExpression
protected boolean secondIsExpression
Predicates.EqualPredicate
public Predicates.EqualPredicate()
Predicates.EqualPredicate
public Predicates.EqualPredicate(Expression first,
Expression second)
Predicates.EqualPredicate
public Predicates.EqualPredicate(Expression first,
Object second)
apply
public boolean apply(MapEntry entry)
- Specified by:
apply
in interface Predicate
getConvertedRealValue
protected static Object getConvertedRealValue(Object firstValue,
Object value)
doApply
protected boolean doApply(Object first,
Object second)
collectIndexAwarePredicates
public boolean collectIndexAwarePredicates(List<IndexAwarePredicate> lsIndexPredicates,
Map<Expression,Index> mapIndexes)
- Specified by:
collectIndexAwarePredicates
in interface IndexAwarePredicate
collectAppliedIndexes
public void collectAppliedIndexes(Set<Index> setAppliedIndexes,
Map<Expression,Index> mapIndexes)
- Specified by:
collectAppliedIndexes
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
getValue
public Object getValue()
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
toString
public String toString()
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.