com.hazelcast.query
Class Predicates.GreaterLessPredicate

java.lang.Object
  extended by SerializationHelper
      extended by com.hazelcast.query.Predicates.AbstractPredicate
          extended by com.hazelcast.query.Predicates.EqualPredicate
              extended by com.hazelcast.query.Predicates.GreaterLessPredicate
All Implemented Interfaces:
DataSerializable, IndexAwarePredicate, Predicate, Serializable
Enclosing class:
Predicates

public static class Predicates.GreaterLessPredicate
extends Predicates.EqualPredicate


Field Summary
 
Fields inherited from class com.hazelcast.query.Predicates.EqualPredicate
secondIsExpression
 
Constructor Summary
Predicates.GreaterLessPredicate()
           
Predicates.GreaterLessPredicate(Expression first, Expression second, boolean equal, boolean less)
           
Predicates.GreaterLessPredicate(Expression first, Object second, boolean equal, boolean less)
           
 
Method Summary
protected  boolean doApply(Object first, Object second)
           
 Set<MapEntry> filter(QueryContext queryContext)
           
 void readData(DataInput in)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class com.hazelcast.query.Predicates.EqualPredicate
apply, collectAppliedIndexes, collectIndexAwarePredicates, getConvertedRealValue, getValue, isIndexed
 
Methods inherited from class com.hazelcast.query.Predicates.AbstractPredicate
getRealObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Predicates.GreaterLessPredicate

public Predicates.GreaterLessPredicate()

Predicates.GreaterLessPredicate

public Predicates.GreaterLessPredicate(Expression first,
                                       Expression second,
                                       boolean equal,
                                       boolean less)

Predicates.GreaterLessPredicate

public Predicates.GreaterLessPredicate(Expression first,
                                       Object second,
                                       boolean equal,
                                       boolean less)
Method Detail

doApply

protected boolean doApply(Object first,
                          Object second)
Overrides:
doApply in class Predicates.EqualPredicate

filter

public Set<MapEntry> filter(QueryContext queryContext)
Specified by:
filter in interface IndexAwarePredicate
Overrides:
filter in class Predicates.EqualPredicate

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Overrides:
readData in class Predicates.EqualPredicate
Throws:
IOException

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Overrides:
writeData in class Predicates.EqualPredicate
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Predicates.EqualPredicate


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.