com.espertech.esper.epl.named
Class NamedWindowLookupStrategyTableScan

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

public class NamedWindowLookupStrategyTableScan
extends java.lang.Object
implements NamedWindowLookupStrategy

Determine events to be deleted from a named window using the where-clause and full table scan.


Constructor Summary
NamedWindowLookupStrategyTableScan(ExprEvaluator joinExpr, java.lang.Iterable<EventBean> iterable)
          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

NamedWindowLookupStrategyTableScan

public NamedWindowLookupStrategyTableScan(ExprEvaluator joinExpr,
                                          java.lang.Iterable<EventBean> iterable)
Ctor.

Parameters:
joinExpr - is the where clause
iterable - is the named window's data window iterator
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-2014 EsperTech Inc.
All rights reserved.
Visit us at espertech.com