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 int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class EntryEventFilterpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class EntryEventFilterout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class EntryEventFilterin - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.public boolean equals(Object o)
equals in class EntryEventFilterpublic int hashCode()
hashCode in class EntryEventFilterpublic String toString()
toString in class EntryEventFilterCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.