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<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
protected Comparable value
public Predicates.EqualPredicate()
public Predicates.EqualPredicate(String attribute)
public Predicates.EqualPredicate(String attribute, Comparable value)
public Set<QueryableEntry> filter(QueryContext queryContext)
public boolean apply(Map.Entry mapEntry)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class Predicates.AbstractPredicate
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class Predicates.AbstractPredicate
in
- inputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.