|
||||||||||
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.variable.OnSetVariableView
public class OnSetVariableView
A view that handles the setting of variables upon receipt of a triggering event.
Variables are updated atomically and thus a separate commit actually updates the new variable values, or a rollback if an exception occured during validation.
Field Summary |
---|
Fields inherited from class net.esper.view.ViewSupport |
---|
parent |
Constructor Summary | |
---|---|
OnSetVariableView(OnTriggerSetDesc desc,
EventAdapterService eventAdapterService,
VariableService variableService)
Ctor. |
Method Summary | |
---|---|
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
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 |
Constructor Detail |
---|
public OnSetVariableView(OnTriggerSetDesc desc, EventAdapterService eventAdapterService, VariableService variableService) throws ExprValidationException
desc
- specification for the on-set statementeventAdapterService
- for creating statementsvariableService
- for setting variables
ExprValidationException
- if the assignment expressions are invalidMethod Detail |
---|
public 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 EventType getEventType()
EventCollection
public Iterator<EventBean> iterator()
EventCollection
|
© 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 |