|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.filter.EventTypeIndexBuilder
public class EventTypeIndexBuilder
This class is responsible for changes to EventTypeIndex
for addition and removal of filters.
It delegates the work to make modifications to the filter parameter tree to an IndexTreeBuilder
.
It enforces a policy that a filter callback can only be added once.
Constructor Summary | |
---|---|
EventTypeIndexBuilder(EventTypeIndex eventTypeIndex)
Constructor - takes the event type index to manipulate as its parameter. |
Method Summary | |
---|---|
void |
add(FilterValueSet filterValueSet,
FilterHandle filterCallback,
FilterServiceGranularLockFactory lockFactory)
Add a filter to the event type index structure, and to the filter subtree. |
void |
apply(FilterSet filterSet,
FilterServiceGranularLockFactory lockFactory)
Add the filters, from previously-taken filters. |
void |
destroy()
Destroy the service. |
void |
remove(FilterHandle filterCallback)
Remove a filter callback from the given index node. |
FilterSet |
take(java.util.Set<java.lang.String> statementIds)
Returns filters for the statement ids. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventTypeIndexBuilder(EventTypeIndex eventTypeIndex)
eventTypeIndex
- - index to manipulateMethod Detail |
---|
public void destroy()
public final void add(FilterValueSet filterValueSet, FilterHandle filterCallback, FilterServiceGranularLockFactory lockFactory)
filterValueSet
- is the filter informationfilterCallback
- is the callbackpublic final void remove(FilterHandle filterCallback)
filterCallback
- is the callback to removepublic final FilterSet take(java.util.Set<java.lang.String> statementIds)
statementIds
- ids to take
public void apply(FilterSet filterSet, FilterServiceGranularLockFactory lockFactory)
filterSet
- to add
|
© 2006-2014 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 |