com.hazelcast.query
Class Predicates.BetweenPredicate

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.BetweenPredicate
All Implemented Interfaces:
DataSerializable, IndexAwarePredicate, Predicate, Serializable
Enclosing class:
Predicates

public static class Predicates.BetweenPredicate
extends Predicates.EqualPredicate


Field Summary
 
Fields inherited from class com.hazelcast.query.Predicates.EqualPredicate
secondIsExpression
 
Constructor Summary
Predicates.BetweenPredicate()
           
Predicates.BetweenPredicate(Expression first, Expression from, Object to)
           
Predicates.BetweenPredicate(Expression first, Object from, Object to)
           
 
Method Summary
 boolean apply(MapEntry entry)
           
 Set<MapEntry> filter(QueryContext queryContext)
           
 void readData(DataInput in)
           
 String toString()
           
 void writeData(DataOutput out)
           
 
Methods inherited from class com.hazelcast.query.Predicates.EqualPredicate
collectAppliedIndexes, collectIndexAwarePredicates, doApply, 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.BetweenPredicate

public Predicates.BetweenPredicate()

Predicates.BetweenPredicate

public Predicates.BetweenPredicate(Expression first,
                                   Expression from,
                                   Object to)

Predicates.BetweenPredicate

public Predicates.BetweenPredicate(Expression first,
                                   Object from,
                                   Object to)
Method Detail

apply

public boolean apply(MapEntry entry)
Specified by:
apply in interface Predicate
Overrides:
apply in class Predicates.EqualPredicate

filter

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

writeData

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

readData

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

toString

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


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