net.esper.eql.join.exec
Class FullTableScanLookupStrategy

java.lang.Object
  extended by net.esper.eql.join.exec.FullTableScanLookupStrategy
All Implemented Interfaces:
TableLookupStrategy

public class FullTableScanLookupStrategy
extends Object
implements TableLookupStrategy

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 event)
          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 Set<EventBean> lookup(EventBean event)
Description copied from interface: TableLookupStrategy
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 TableLookupStrategy
Parameters:
event - 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.

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com