com.hazelcast.query
Class Predicates.BetweenPredicate

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

public static class Predicates.BetweenPredicate
extends Predicates.AbstractPredicate

Between Predicate

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.query.Predicates.AbstractPredicate
attribute
 
Constructor Summary
Predicates.BetweenPredicate()
           
Predicates.BetweenPredicate(String first, Comparable from, Comparable to)
           
 
Method Summary
 boolean apply(Map.Entry entry)
           
 Set<QueryableEntry> filter(QueryContext queryContext)
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class com.hazelcast.query.Predicates.AbstractPredicate
convert, getIndex, isIndexed, readAttribute
 
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(String first,
                                   Comparable from,
                                   Comparable to)
Method Detail

apply

public boolean apply(Map.Entry entry)

filter

public Set<QueryableEntry> filter(QueryContext queryContext)

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Overrides:
writeData in class Predicates.AbstractPredicate
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Overrides:
readData in class Predicates.AbstractPredicate
Parameters:
in - input
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.