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

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

public class FullTableScanLookupStrategy
extends java.lang.Object
implements JoinExecTableLookupStrategy

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


Constructor Summary
FullTableScanLookupStrategy(UnindexedEventTable eventIndex)
          Ctor.
 
Method Summary
 UnindexedEventTable getEventIndex()
          Returns the associated table.
 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

FullTableScanLookupStrategy

public FullTableScanLookupStrategy(UnindexedEventTable 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

getEventIndex

public UnindexedEventTable getEventIndex()
Returns the associated table.

Returns:
table for lookup.

getStrategyDesc

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

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