|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ViewSupport
net.esper.eql.named.NamedWindowOnExprBaseView
public abstract class NamedWindowOnExprBaseView
View for the on-delete statement that handles removing events from a named window.
Field Summary | |
---|---|
protected EventType |
namedWindowEventType
The event type of the events hosted in the named window. |
protected NamedWindowRootView |
rootView
The root view accepting removals (old data). |
Fields inherited from class net.esper.view.ViewSupport |
---|
parent |
Constructor Summary | |
---|---|
NamedWindowOnExprBaseView(StatementStopService statementStopService,
LookupStrategy lookupStrategy,
NamedWindowRootView rootView)
Ctor. |
Method Summary | |
---|---|
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 |
statementStopped()
Indicates statement stopped. |
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent. |
Methods inherited from class net.esper.view.ViewSupport |
---|
addView, dumpChildViews, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, setParent, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final EventType namedWindowEventType
protected final NamedWindowRootView rootView
Constructor Detail |
---|
public NamedWindowOnExprBaseView(StatementStopService statementStopService, LookupStrategy lookupStrategy, NamedWindowRootView rootView)
statementStopService
- for indicating a statement was stopped or destroyed for cleanuplookupStrategy
- for handling trigger events to determine deleted eventsrootView
- to indicate which events to deleteMethod 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 statementStopped()
StatementStopCallback
statementStopped
in interface StatementStopCallback
public void update(EventBean[] newData, EventBean[] oldData)
View
update
in interface 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 view
|
© 2007 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 |