public class QueryEventFilter extends EntryEventFilter
Predicate.includeValue, key| Constructor and Description |
|---|
QueryEventFilter() |
QueryEventFilter(boolean includeValue,
Data key,
Predicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
eval(Object arg)
Returns
true if the event matches this filter. |
int |
getId()
Returns type identifier for this class.
|
Object |
getPredicate() |
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getFactoryId, getKey, isIncludeValuepublic Object getPredicate()
public boolean eval(Object arg)
EventFiltertrue if the event matches this filter.eval in interface EventFiltereval in class EntryEventFilterpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class EntryEventFilterout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class EntryEventFilterin - inputIOExceptionpublic boolean equals(Object o)
equals in class EntryEventFilterpublic int hashCode()
hashCode in class EntryEventFilterpublic String toString()
toString in class EntryEventFilterpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class EntryEventFilterCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.