com.espertech.esper.epl.join.exec.base
Class FullTableScanUniqueValueLookupStrategy

java.lang.Object
  extended by com.espertech.esper.epl.join.exec.base.FullTableScanUniqueValueLookupStrategy
All Implemented Interfaces:
JoinExecTableLookupStrategy

public class FullTableScanUniqueValueLookupStrategy
extends java.lang.Object
implements JoinExecTableLookupStrategy

Lookup on an unindexed table returning the full table as matching events.


Constructor Summary
FullTableScanUniqueValueLookupStrategy(EventTableAsSet eventIndex)
          Ctor.
 
Method Summary
 LookupStrategyDesc getStrategyDesc()
           
 java.util.Set<EventBean> lookup(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext)
          Returns matched events for a event to look up for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullTableScanUniqueValueLookupStrategy

public FullTableScanUniqueValueLookupStrategy(EventTableAsSet eventIndex)
Ctor.

Parameters:
eventIndex - - table to use
Method Detail

lookup

public java.util.Set<EventBean> lookup(EventBean theEvent,
                                       Cursor cursor,
                                       ExprEvaluatorContext exprEvaluatorContext)
Description copied from interface: JoinExecTableLookupStrategy
Returns matched events for a event to look up for. Never returns an empty result set, always returns null to indicate no results.

Specified by:
lookup in interface JoinExecTableLookupStrategy
Parameters:
theEvent - to look up
cursor - the path in the query that the lookup took
exprEvaluatorContext - expression evaluation context
Returns:
set of matching events, or null if none matching

getStrategyDesc

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

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