com.espertech.esper.epl.join
Class HistoricalIndexLookupStrategyIndex

java.lang.Object
  extended by com.espertech.esper.epl.join.HistoricalIndexLookupStrategyIndex
All Implemented Interfaces:
HistoricalIndexLookupStrategy

public class HistoricalIndexLookupStrategyIndex
extends Object
implements HistoricalIndexLookupStrategy

Index lookup strategy into a poll-based cache result.


Constructor Summary
HistoricalIndexLookupStrategyIndex(EventType eventType, String[] properties)
          Ctor.
 
Method Summary
 Iterator<EventBean> lookup(EventBean lookupEvent, EventTable indexTable)
          Look up into the index, potentially using some of the properties in the lookup event, returning a partial or full result in respect to the index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoricalIndexLookupStrategyIndex

public HistoricalIndexLookupStrategyIndex(EventType eventType,
                                          String[] properties)
Ctor.

Parameters:
eventType - - event type to expect for lookup
properties - - key properties
Method Detail

lookup

public Iterator<EventBean> lookup(EventBean lookupEvent,
                                  EventTable indexTable)
Description copied from interface: HistoricalIndexLookupStrategy
Look up into the index, potentially using some of the properties in the lookup event, returning a partial or full result in respect to the index.

Specified by:
lookup in interface HistoricalIndexLookupStrategy
Parameters:
lookupEvent - provides properties to use as key values for indexes
indexTable - is the table providing the cache result set, potentially indexed by index fields
Returns:
full set or partial index iterator

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