com.espertech.esper.epl.named
Class NamedWindowLookupStrategyAllRows

java.lang.Object
  extended by com.espertech.esper.epl.named.NamedWindowLookupStrategyAllRows
All Implemented Interfaces:
NamedWindowLookupStrategy

public class NamedWindowLookupStrategyAllRows
extends java.lang.Object
implements NamedWindowLookupStrategy

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


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

Constructor Detail

NamedWindowLookupStrategyAllRows

public NamedWindowLookupStrategyAllRows(java.lang.Iterable<EventBean> source)
Ctor.

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

lookup

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

Specified by:
lookup in interface NamedWindowLookupStrategy
Parameters:
newData - is the correlation events
exprEvaluatorContext - expression evaluation context
Returns:
the events to delete from the named window

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toQueryPlan

public java.lang.String toQueryPlan()
Specified by:
toQueryPlan in interface NamedWindowLookupStrategy

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