com.hazelcast.query
public static class Predicates.GreaterLessPredicate extends Predicates.EqualPredicate
value
attribute
Constructor and Description |
---|
Predicates.GreaterLessPredicate() |
Predicates.GreaterLessPredicate(String attribute,
Comparable value,
boolean equal,
boolean less) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Map.Entry mapEntry) |
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
|
convert, getIndex, isIndexed, readAttribute
public Predicates.GreaterLessPredicate()
public Predicates.GreaterLessPredicate(String attribute, Comparable value, boolean equal, boolean less)
public boolean apply(Map.Entry mapEntry)
apply
in interface Predicate
apply
in class Predicates.EqualPredicate
public Set<QueryableEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
filter
in class Predicates.EqualPredicate
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Predicates.EqualPredicate
in
- inputIOException
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Predicates.EqualPredicate
out
- outputIOException
public String toString()
toString
in class Predicates.EqualPredicate
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.