public class FilterParamIndexQuadTreeMXCIF extends FilterParamIndexLookupableBase
lookupable
Constructor and Description |
---|
FilterParamIndexQuadTreeMXCIF(ReadWriteLock readWriteLock,
com.espertech.esper.common.internal.epl.expression.core.ExprFilterSpecLookupable lookupable) |
Modifier and Type | Method and Description |
---|---|
EventEvaluator |
get(Object filterConstant)
Get the event evaluation instance associated with the constant.
|
ReadWriteLock |
getReadWriteLock()
Supplies the lock for protected access.
|
void |
getTraverseStatement(EventTypeIndexTraverse traverse,
Set<Integer> statementIds,
ArrayDeque<FilterItem> evaluatorStack) |
boolean |
isEmpty()
Return empty indicator.
|
void |
matchEvent(com.espertech.esper.common.client.EventBean theEvent,
Collection<com.espertech.esper.common.internal.filtersvc.FilterHandle> matches)
Perform the matching of an event based on the event property values,
adding any callbacks for matches found to the matches list.
|
void |
put(Object filterConstant,
EventEvaluator evaluator)
Store the event evaluation instance for the given constant.
|
void |
remove(Object filterConstant)
Remove the event evaluation instance for the given constant.
|
int |
sizeExpensive()
Return the number of distinct filter parameter constants stored.
|
getLookupable, toString
getFilterCallbackCount, getFilterOperator
public FilterParamIndexQuadTreeMXCIF(ReadWriteLock readWriteLock, com.espertech.esper.common.internal.epl.expression.core.ExprFilterSpecLookupable lookupable)
public void matchEvent(com.espertech.esper.common.client.EventBean theEvent, Collection<com.espertech.esper.common.internal.filtersvc.FilterHandle> matches)
EventEvaluator
theEvent
- is the event object wrapper to obtain event property values frommatches
- accumulates the matching filter callbackspublic EventEvaluator get(Object filterConstant)
FilterParamIndexLookupableBase
get
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the event filter parameterpublic void put(Object filterConstant, EventEvaluator evaluator)
FilterParamIndexLookupableBase
put
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the filter parameterevaluator
- to be stored for the constantpublic void remove(Object filterConstant)
FilterParamIndexLookupableBase
remove
in class FilterParamIndexLookupableBase
filterConstant
- is the value supplied in the filter paremeterpublic int sizeExpensive()
FilterParamIndexLookupableBase
sizeExpensive
in class FilterParamIndexLookupableBase
public boolean isEmpty()
FilterParamIndexBase
isEmpty
in class FilterParamIndexBase
public ReadWriteLock getReadWriteLock()
FilterParamIndexLookupableBase
getReadWriteLock
in class FilterParamIndexLookupableBase
public void getTraverseStatement(EventTypeIndexTraverse traverse, Set<Integer> statementIds, ArrayDeque<FilterItem> evaluatorStack)
Copyright © 2005–2018. All rights reserved.