public static class Predicates.EqualPredicate extends Predicates.AbstractPredicate
Modifier and Type | Field and Description |
---|---|
protected Comparable |
value |
attribute
Constructor and Description |
---|
Predicates.EqualPredicate() |
Predicates.EqualPredicate(String attribute,
Comparable value) |
Modifier and Type | Method and Description |
---|---|
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)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
Writes object fields to output stream
|
convert, getIndex, isIndexed, readAttribute
protected Comparable value
public Predicates.EqualPredicate()
public Predicates.EqualPredicate(String attribute, Comparable value)
public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
public boolean apply(Map.Entry mapEntry)
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Predicates.AbstractPredicate
out
- outputIOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Predicates.AbstractPredicate
in
- inputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.