net.esper.eql.named
Class LookupStrategyIndexed

java.lang.Object
  extended by net.esper.eql.named.LookupStrategyIndexed
All Implemented Interfaces:
LookupStrategy

public class LookupStrategyIndexed
extends Object
implements LookupStrategy

Uses an index to determine event to be deleted or selected from a named window.


Constructor Summary
LookupStrategyIndexed(ExprNode joinExpr, TableLookupStrategy tableLookupStrategy)
          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

LookupStrategyIndexed

public LookupStrategyIndexed(ExprNode joinExpr,
                             TableLookupStrategy tableLookupStrategy)
Ctor.

Parameters:
joinExpr - the validated where clause of the on-delete
tableLookupStrategy - the strategy for looking up in an index the matching events using correlation
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