com.espertech.esper.epl.lookup
Class SubordIndexedTableLookupTableStrategy

java.lang.Object
  extended by com.espertech.esper.epl.lookup.SubordIndexedTableLookupTableStrategy
All Implemented Interfaces:
SubordTableLookupStrategy

public class SubordIndexedTableLookupTableStrategy
extends java.lang.Object
implements SubordTableLookupStrategy

Index lookup strategy for subqueries against tables, full table scan.


Constructor Summary
SubordIndexedTableLookupTableStrategy(SubordTableLookupStrategy inner, java.util.concurrent.locks.Lock lock)
           
 
Method Summary
 LookupStrategyDesc getStrategyDesc()
           
 java.util.Collection<EventBean> lookup(EventBean[] events, ExprEvaluatorContext context)
          Returns matched events for a set of events to look up for.
 java.lang.String toQueryPlan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubordIndexedTableLookupTableStrategy

public SubordIndexedTableLookupTableStrategy(SubordTableLookupStrategy inner,
                                             java.util.concurrent.locks.Lock lock)
Method Detail

lookup

public java.util.Collection<EventBean> lookup(EventBean[] events,
                                              ExprEvaluatorContext context)
Description copied from interface: SubordTableLookupStrategy
Returns matched events for a set of events to look up for. Never returns an empty result set, always returns null to indicate no results.

Specified by:
lookup in interface SubordTableLookupStrategy
Parameters:
events - to look up
Returns:
set of matching events, or null if none matching

getStrategyDesc

public LookupStrategyDesc getStrategyDesc()
Specified by:
getStrategyDesc in interface SubordTableLookupStrategy

toQueryPlan

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

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