public final class NotEqualPredicate extends EqualPredicate
value
Constructor and Description |
---|
NotEqualPredicate() |
NotEqualPredicate(String attribute,
Comparable value) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Map.Entry entry) |
Set<QueryableEntry> |
filter(QueryContext queryContext) |
int |
getId()
Returns type identifier for this class.
|
boolean |
isIndexed(QueryContext queryContext) |
Predicate |
negate()
Create logical negation of itself.
|
String |
toString() |
applyForSingleAttributeValue, readData, writeData
getIndex
convert, convertEnumValue, getFactoryId, readAttributeValue
public NotEqualPredicate()
public NotEqualPredicate(String attribute, Comparable value)
public boolean apply(Map.Entry entry)
apply
in interface Predicate
apply
in class AbstractPredicate
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate
isIndexed
in class AbstractIndexAwarePredicate
public Set<QueryableEntry> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate
filter
in class EqualPredicate
public String toString()
toString
in class EqualPredicate
public Predicate negate()
NegatablePredicate
negate
in interface NegatablePredicate
negate
in class EqualPredicate
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class EqualPredicate
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.