com.espertech.esper.epl.join.base
Class HistoricalIndexLookupStrategyIndex

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

public class HistoricalIndexLookupStrategyIndex
extends java.lang.Object
implements HistoricalIndexLookupStrategy

Index lookup strategy into a poll-based cache result.


Constructor Summary
HistoricalIndexLookupStrategyIndex(EventType eventType, int lookupStream, java.util.List<QueryGraphValueEntryHashKeyed> hashKeys)
          Ctor.
 
Method Summary
 java.util.Iterator<EventBean> lookup(EventBean lookupEvent, EventTable[] indexTable, ExprEvaluatorContext exprEvaluatorContext)
          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.
 java.lang.String toQueryPlan()
           
 
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,
                                          int lookupStream,
                                          java.util.List<QueryGraphValueEntryHashKeyed> hashKeys)
Ctor.

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

lookup

public java.util.Iterator<EventBean> lookup(EventBean lookupEvent,
                                            EventTable[] indexTable,
                                            ExprEvaluatorContext exprEvaluatorContext)
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

toQueryPlan

public java.lang.String toQueryPlan()
Specified by:
toQueryPlan in interface HistoricalIndexLookupStrategy

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