public class EqualPredicate extends AbstractIndexAwarePredicate implements NegatablePredicate
| Modifier and Type | Field and Description | 
|---|---|
protected Comparable | 
value  | 
| Constructor and Description | 
|---|
EqualPredicate()  | 
EqualPredicate(String attribute)  | 
EqualPredicate(String attribute,
              Comparable value)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
applyForSingleAttributeValue(Map.Entry mapEntry,
                            Comparable attributeValue)  | 
Set<QueryableEntry> | 
filter(QueryContext queryContext)  | 
int | 
getId()
Returns type identifier for this class. 
 | 
Predicate | 
negate()
Create logical negation of itself. 
 | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
String | 
toString()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
getIndex, isIndexedapply, convert, convertEnumValue, getFactoryId, readAttributeValueprotected Comparable value
public EqualPredicate()
public EqualPredicate(String attribute)
public EqualPredicate(String attribute, Comparable value)
public Set<QueryableEntry> filter(QueryContext queryContext)
filter in interface IndexAwarePredicateprotected boolean applyForSingleAttributeValue(Map.Entry mapEntry, Comparable attributeValue)
applyForSingleAttributeValue in class AbstractPredicatepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class AbstractPredicateout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class AbstractPredicatein - inputIOExceptionpublic Predicate negate()
NegatablePredicatenegate in interface NegatablePredicatepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.