com.espertech.esper.view.window
Class RelativeAccessByEventNIndexGetterImpl

java.lang.Object
  extended by com.espertech.esper.view.window.RelativeAccessByEventNIndexGetterImpl
All Implemented Interfaces:
IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver, RelativeAccessByEventNIndexGetter

public class RelativeAccessByEventNIndexGetterImpl
extends java.lang.Object
implements IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver, RelativeAccessByEventNIndexGetter

Provides random-access into window contents by event and index as a combination.


Constructor Summary
RelativeAccessByEventNIndexGetterImpl()
           
 
Method Summary
 RelativeAccessByEventNIndex getAccessor(EventBean theEvent)
          Returns the access into window contents given an event.
 void updated(RelativeAccessByEventNIndex iStreamRelativeAccess, EventBean[] newData)
          Callback to indicate an update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeAccessByEventNIndexGetterImpl

public RelativeAccessByEventNIndexGetterImpl()
Method Detail

updated

public void updated(RelativeAccessByEventNIndex 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 collection
newData - is the new data available

getAccessor

public RelativeAccessByEventNIndex getAccessor(EventBean theEvent)
Returns the access into window contents given an event.

Specified by:
getAccessor in interface RelativeAccessByEventNIndexGetter
Parameters:
theEvent - to which the method returns relative access from
Returns:
buffer

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com