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, java.io.Serializable
- Direct Known Subclasses:
- Predicates.BetweenPredicate, Predicates.GreaterLessPredicate, Predicates.NotEqualPredicate
- Enclosing class:
- Predicates
public static class Predicates.EqualPredicate
- extends Predicates.AbstractPredicate
- implements IndexAwarePredicate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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,
java.lang.Object second)
apply
public boolean apply(MapEntry entry)
- Specified by:
apply in interface Predicate
getConvertedRealValue
protected static java.lang.Object getConvertedRealValue(java.lang.Object firstValue,
java.lang.Object value)
doApply
protected boolean doApply(java.lang.Object first,
java.lang.Object second)
collectIndexAwarePredicates
public boolean collectIndexAwarePredicates(java.util.List<IndexAwarePredicate> lsIndexPredicates,
java.util.Map<Expression,Index> mapIndexes)
- Specified by:
collectIndexAwarePredicates in interface IndexAwarePredicate
collectAppliedIndexes
public void collectAppliedIndexes(java.util.Set<Index> setAppliedIndexes,
java.util.Map<Expression,Index> mapIndexes)
- Specified by:
collectAppliedIndexes in interface IndexAwarePredicate
isIndexed
public boolean isIndexed(QueryContext queryContext)
- Specified by:
isIndexed in interface IndexAwarePredicate
filter
public java.util.Set<MapEntry> filter(QueryContext queryContext)
- Specified by:
filter in interface IndexAwarePredicate
getValue
public java.lang.Object getValue()
writeData
public void writeData(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
writeData in interface DataSerializable
- Throws:
java.io.IOException
readData
public void readData(java.io.DataInput in)
throws java.io.IOException
- Specified by:
readData in interface DataSerializable
- Throws:
java.io.IOException
toString
public java.lang.String toString()
Copyright .9.4.5; 2008-2011 Hazel Ltd. All Rights Reserved.