public class BetweenPredicate extends AbstractIndexAwarePredicate
Constructor and Description |
---|
BetweenPredicate() |
BetweenPredicate(String first,
Comparable from,
Comparable to) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyForSingleAttributeValue(Map.Entry entry,
Comparable attributeValue) |
Set<QueryableEntry> |
filter(QueryContext queryContext) |
int |
getId()
Returns type identifier for this class.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getIndex, isIndexed
apply, convert, convertEnumValue, getFactoryId, readAttributeValue
public BetweenPredicate()
public BetweenPredicate(String first, Comparable from, Comparable to)
protected boolean applyForSingleAttributeValue(Map.Entry entry, Comparable attributeValue)
applyForSingleAttributeValue
in class AbstractPredicate
public Set<QueryableEntry> filter(QueryContext queryContext)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class AbstractPredicate
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class AbstractPredicate
in
- inputIOException
public int getId()
IdentifiedDataSerializable
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.