|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ViewSupport
com.espertech.esper.epl.named.NamedWindowOnExprBaseView
public abstract class NamedWindowOnExprBaseView
View for the on-delete statement that handles removing events from a named window.
Field Summary | |
---|---|
protected NamedWindowRootViewInstance |
rootView
The root view accepting removals (old data). |
Fields inherited from class com.espertech.esper.view.ViewSupport |
---|
EMPTY_VIEW_ARRAY, parent |
Constructor Summary | |
---|---|
NamedWindowOnExprBaseView(SubordWMatchExprLookupStrategy lookupStrategy,
NamedWindowRootViewInstance rootView,
ExprEvaluatorContext exprEvaluatorContext)
Ctor. |
Method Summary | |
---|---|
ExprEvaluatorContext |
getExprEvaluatorContext()
returns expr context. |
abstract void |
handleMatching(EventBean[] triggerEvents,
EventBean[] matchingEvents)
Implemented by on-trigger views to action on the combination of trigger and matching events in the named window. |
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent. |
Methods inherited from class com.espertech.esper.view.ViewSupport |
---|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.view.EventCollection |
---|
getEventType, iterator |
Field Detail |
---|
protected final NamedWindowRootViewInstance rootView
Constructor Detail |
---|
public NamedWindowOnExprBaseView(SubordWMatchExprLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, ExprEvaluatorContext exprEvaluatorContext)
lookupStrategy
- for handling trigger events to determine deleted eventsrootView
- to indicate which events to deleteexprEvaluatorContext
- context for expression evalauationMethod Detail |
---|
public abstract void handleMatching(EventBean[] triggerEvents, EventBean[] matchingEvents)
triggerEvents
- is the trigger events (usually 1)matchingEvents
- is the matching events retrieved via lookup strategypublic void update(EventBean[] newData, EventBean[] oldData)
View
newData
- is the new data that has been added to the parent viewoldData
- is the old data that has been removed from the parent viewpublic ExprEvaluatorContext getExprEvaluatorContext()
|
© 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 |