net.esper.view.window
Class RelativeAccessByEventNIndexGetter
java.lang.Object
net.esper.view.window.RelativeAccessByEventNIndexGetter
- All Implemented Interfaces:
- IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver
public class RelativeAccessByEventNIndexGetter
- extends Object
- implements IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver
Provides random-access into window contents by event and index as a combination.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelativeAccessByEventNIndexGetter
public RelativeAccessByEventNIndexGetter()
updated
public void updated(IStreamRelativeAccess iStreamRelativeAccess,
EventBean[] newData)
- Description copied from interface:
IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver
- Callback to indicate an update.
- Specified by:
updated
in interface IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver
- Parameters:
iStreamRelativeAccess
- is the collectionnewData
- is the new data available
getAccessor
public IStreamRelativeAccess getAccessor(EventBean event)
- Returns the access into window contents given an event.
- Parameters:
event
- to which the method returns relative access from
- Returns:
- buffer