com.espertech.esper.view.window
Class RelativeAccessByEventNIndexMap

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

public class RelativeAccessByEventNIndexMap
extends java.lang.Object
implements IStreamRelativeAccess.IStreamRelativeAccessUpdateObserver

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


Constructor Summary
RelativeAccessByEventNIndexMap()
           
 
Method Summary
 IStreamRelativeAccess getAccessor(EventBean theEvent)
          Returns the access into window contents given an event.
 void updated(IStreamRelativeAccess 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

RelativeAccessByEventNIndexMap

public RelativeAccessByEventNIndexMap()
Method Detail

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 collection
newData - is the new data available

getAccessor

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

Parameters:
theEvent - to which the method returns relative access from
Returns:
buffer

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