|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.filter.FilterParamIndexBase
com.espertech.esper.filter.FilterParamIndexBooleanExpr
public final class FilterParamIndexBooleanExpr
Index that simply maintains a list of boolean expressions.
Constructor Summary | |
---|---|
FilterParamIndexBooleanExpr(java.util.concurrent.locks.ReadWriteLock readWriteLock)
Constructs the index for multiple-exact matches. |
Method Summary | |
---|---|
EventEvaluator |
get(java.lang.Object filterConstant)
Get the event evaluation instance associated with the constant. |
java.util.concurrent.locks.ReadWriteLock |
getReadWriteLock()
Supplies the lock for protected access. |
void |
matchEvent(EventBean theEvent,
java.util.Collection<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(java.lang.Object filterConstant,
EventEvaluator evaluator)
Store the event evaluation instance for the given constant. |
boolean |
remove(java.lang.Object filterConstant)
Remove the event evaluation instance for the given constant. |
int |
size()
Return the number of distinct filter parameter constants stored. |
Methods inherited from class com.espertech.esper.filter.FilterParamIndexBase |
---|
getFilterOperator, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterParamIndexBooleanExpr(java.util.concurrent.locks.ReadWriteLock readWriteLock)
Method Detail |
---|
public final EventEvaluator get(java.lang.Object filterConstant)
FilterParamIndexBase
get
in class FilterParamIndexBase
filterConstant
- is the constant supplied in the event filter parameter
public final void put(java.lang.Object filterConstant, EventEvaluator evaluator)
FilterParamIndexBase
put
in class FilterParamIndexBase
filterConstant
- is the constant supplied in the filter parameterevaluator
- to be stored for the constantpublic final boolean remove(java.lang.Object filterConstant)
FilterParamIndexBase
remove
in class FilterParamIndexBase
filterConstant
- is the value supplied in the filter paremeter
public final int size()
FilterParamIndexBase
size
in class FilterParamIndexBase
public final java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
FilterParamIndexBase
getReadWriteLock
in class FilterParamIndexBase
public final void matchEvent(EventBean theEvent, java.util.Collection<FilterHandle> matches)
EventEvaluator
theEvent
- is the event object wrapper to obtain event property values frommatches
- accumulates the matching filter callbacks
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |