com.hazelcast.query
Class Predicates.EqualPredicate
java.lang.Object
com.hazelcast.query.Predicates.AbstractPredicate
com.hazelcast.query.Predicates.EqualPredicate
- All Implemented Interfaces:
- DataSerializable, IndexAwarePredicate, Predicate, Serializable
- Direct Known Subclasses:
- Predicates.GreaterLessPredicate, Predicates.NotEqualPredicate
- Enclosing class:
- Predicates
public static class Predicates.EqualPredicate
- extends Predicates.AbstractPredicate
- See Also:
- Serialized Form
Method Summary |
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)
|
String |
toString()
|
void |
writeData(com.hazelcast.nio.ObjectDataOutput out)
|
value
protected Comparable value
Predicates.EqualPredicate
public Predicates.EqualPredicate()
Predicates.EqualPredicate
public Predicates.EqualPredicate(String attribute,
Comparable value)
filter
public Set<com.hazelcast.query.impl.QueryableEntry> filter(com.hazelcast.query.impl.QueryContext queryContext)
apply
public boolean apply(Map.Entry mapEntry)
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Overrides:
writeData
in class Predicates.AbstractPredicate
- Throws:
IOException
readData
public void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Overrides:
readData
in class Predicates.AbstractPredicate
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.