com.espertech.esper.epl.named
Class LookupStrategyAllRows

java.lang.Object
  extended by com.espertech.esper.epl.named.LookupStrategyAllRows
All Implemented Interfaces:
LookupStrategy

public class LookupStrategyAllRows
extends Object
implements LookupStrategy

Deletes from a named window all events simply using the named window's data window iterator.


Constructor Summary
LookupStrategyAllRows(Iterable<EventBean> source)
          Ctor.
 
Method Summary
 EventBean[] lookup(EventBean[] newData)
          Determines the events to be deleted from a named window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupStrategyAllRows

public LookupStrategyAllRows(Iterable<EventBean> source)
Ctor.

Parameters:
source - iterator of the data window under the named window
Method Detail

lookup

public EventBean[] lookup(EventBean[] newData)
Description copied from interface: LookupStrategy
Determines the events to be deleted from a named window.

Specified by:
lookup in interface LookupStrategy
Parameters:
newData - is the correlation events
Returns:
the events to delete from the named window

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com