com.hazelcast.query
Class Predicates.GreaterLessPredicate
java.lang.Object
com.hazelcast.query.Predicates.AbstractPredicate
com.hazelcast.query.Predicates.EqualPredicate
com.hazelcast.query.Predicates.GreaterLessPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
- Enclosing class:
- Predicates
public static class Predicates.GreaterLessPredicate
- extends Predicates.EqualPredicate
- See Also:
- Serialized Form
Method Summary |
boolean |
apply(Map.Entry mapEntry)
|
Set<com.hazelcast.query.impl.QueryableEntry> |
filter(com.hazelcast.query.impl.QueryContext queryContext)
|
void |
readData(com.hazelcast.nio.ObjectDataInput in)
|
String |
toString()
|
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
|
Predicates.GreaterLessPredicate
public Predicates.GreaterLessPredicate()
Predicates.GreaterLessPredicate
public Predicates.GreaterLessPredicate(String attribute,
Comparable value,
boolean equal,
boolean less)
apply
public boolean apply(Map.Entry mapEntry)
- Specified by:
apply
in interface Predicate
- Overrides:
apply
in class Predicates.EqualPredicate
filter
public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
- Specified by:
filter
in interface IndexAwarePredicate
- Overrides:
filter
in class Predicates.EqualPredicate
readData
public void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Overrides:
readData
in class Predicates.EqualPredicate
- Throws:
IOException
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput 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 © 2014 Hazelcast, Inc.. All Rights Reserved.