|
||||||||||
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.FilterParamIndexLookupableBase
com.espertech.esper.filter.FilterParamIndexNotEqualsBase
public abstract class FilterParamIndexNotEqualsBase
Index for filter parameter constants to match using the equals (=) operator. The implementation is based on a regular HashMap.
Field Summary | |
---|---|
protected java.util.Map<java.lang.Object,EventEvaluator> |
constantsMap
|
protected java.util.concurrent.locks.ReadWriteLock |
constantsMapRWLock
|
Fields inherited from class com.espertech.esper.filter.FilterParamIndexLookupableBase |
---|
lookupable |
Constructor Summary | |
---|---|
protected |
FilterParamIndexNotEqualsBase(FilterSpecLookupable lookupable,
java.util.concurrent.locks.ReadWriteLock readWriteLock,
FilterOperator filterOperator)
|
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 |
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.FilterParamIndexLookupableBase |
---|
getLookupable, toString |
Methods inherited from class com.espertech.esper.filter.FilterParamIndexBase |
---|
getFilterOperator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.espertech.esper.filter.EventEvaluator |
---|
matchEvent |
Field Detail |
---|
protected final java.util.Map<java.lang.Object,EventEvaluator> constantsMap
protected final java.util.concurrent.locks.ReadWriteLock constantsMapRWLock
Constructor Detail |
---|
protected FilterParamIndexNotEqualsBase(FilterSpecLookupable lookupable, java.util.concurrent.locks.ReadWriteLock readWriteLock, FilterOperator filterOperator)
Method Detail |
---|
public final EventEvaluator get(java.lang.Object filterConstant)
FilterParamIndexLookupableBase
get
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the event filter parameter
public final void put(java.lang.Object filterConstant, EventEvaluator evaluator)
FilterParamIndexLookupableBase
put
in class FilterParamIndexLookupableBase
filterConstant
- is the constant supplied in the filter parameterevaluator
- to be stored for the constantpublic final boolean remove(java.lang.Object filterConstant)
FilterParamIndexLookupableBase
remove
in class FilterParamIndexLookupableBase
filterConstant
- is the value supplied in the filter paremeter
public final int size()
FilterParamIndexLookupableBase
size
in class FilterParamIndexLookupableBase
public final java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
FilterParamIndexLookupableBase
getReadWriteLock
in class FilterParamIndexLookupableBase
|
© 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 |