net.esper.eql.subquery
Class FullTableScanLookupStrategy

java.lang.Object
  extended by net.esper.eql.subquery.FullTableScanLookupStrategy
All Implemented Interfaces:
SubqueryTableLookupStrategy

public class FullTableScanLookupStrategy
extends Object
implements SubqueryTableLookupStrategy

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.
 Set<EventBean> lookup(EventBean[] eventPerStream)
          Returns matched events for a set of events 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 Set<EventBean> lookup(EventBean[] eventPerStream)
Description copied from interface: SubqueryTableLookupStrategy
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 SubqueryTableLookupStrategy
Parameters:
eventPerStream - to look up
Returns:
set of matching events, or null if none matching

getEventIndex

public UnindexedEventTable getEventIndex()
Returns the associated table.

Returns:
table for lookup.