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) |
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, readAttributeprotected Comparable value
public Predicates.EqualPredicate()
public Predicates.EqualPredicate(String attribute)
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
DataSerializablewriteData in interface DataSerializablewriteData in class Predicates.AbstractPredicateout - outputIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
DataSerializablereadData in interface DataSerializablereadData in class Predicates.AbstractPredicatein - inputIOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.