public class FalsePredicate<K,V> extends Object implements IdentifiedDataSerializable, Predicate<K,V>, IndexAwarePredicate<K,V>
Modifier and Type | Field and Description |
---|---|
static FalsePredicate |
INSTANCE
An instance of the FalsePredicate.
|
Constructor and Description |
---|
FalsePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Map.Entry<K,V> mapEntry) |
Set<QueryableEntry<K,V>> |
filter(QueryContext queryContext) |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
boolean |
isIndexed(QueryContext queryContext) |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public static final FalsePredicate INSTANCE
public Set<QueryableEntry<K,V>> filter(QueryContext queryContext)
filter
in interface IndexAwarePredicate<K,V>
public boolean isIndexed(QueryContext queryContext)
isIndexed
in interface IndexAwarePredicate<K,V>
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.