|
||||||||||
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.view.internal.PriorEventView
public class PriorEventView
View that provides access to prior events posted by the parent view for use by 'prior' expression nodes.
Constructor Summary | |
---|---|
PriorEventView(ViewUpdatedCollection buffer)
Ctor. |
Method Summary | |
---|---|
protected ViewUpdatedCollection |
getBuffer()
Returns the underlying buffer used for access to prior events. |
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 |
setParent(Viewable parent)
Called when the View is added to a Viewable object. |
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, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PriorEventView(ViewUpdatedCollection buffer)
buffer
- is handling the actual storage of events for use in the 'prior' expressionMethod 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 void setParent(Viewable parent)
View
setParent
in interface View
setParent
in class ViewSupport
parent
- is the parent that this view is a child ofprotected ViewUpdatedCollection getBuffer()
public 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 |