net.esper.view.window
Interface RelativeAccessByEventNIndex
- All Known Implementing Classes:
- IStreamRelativeAccess, PriorEventBufferMulti, PriorEventBufferSingle, PriorEventViewFactory.RelativeAccessImpl
public interface RelativeAccessByEventNIndex
Provides access to prior events given an event from which to count back, and an index to look at.
getRelativeToEvent
EventBean getRelativeToEvent(EventBean event,
int index)
- Returns the prior event to the given event counting back the number of events as supplied by index.
- Parameters:
event
- is the event to count back fromindex
- is the number of events to go back
- Returns:
- event