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

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

public class HistoricalIndexLookupStrategyIndexSingle
extends java.lang.Object
implements HistoricalIndexLookupStrategy

Index lookup strategy into a poll-based cache result.


Constructor Summary
HistoricalIndexLookupStrategyIndexSingle(int lookupStream, QueryGraphValueEntryHashKeyed hashKey)
          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

HistoricalIndexLookupStrategyIndexSingle

public HistoricalIndexLookupStrategyIndexSingle(int lookupStream,
                                                QueryGraphValueEntryHashKeyed hashKey)
Ctor.

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