public class InPredicate extends AbstractIndexAwarePredicate
Constructor and Description |
---|
InPredicate() |
InPredicate(String attribute,
Comparable... values) |
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 InPredicate()
public InPredicate(String attribute, Comparable... values)
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 © 2018 Hazelcast, Inc.. All Rights Reserved.