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

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

public class HistoricalIndexLookupStrategyComposite
extends java.lang.Object
implements HistoricalIndexLookupStrategy

Index lookup strategy into a poll-based cache result.


Constructor Summary
HistoricalIndexLookupStrategyComposite(int lookupStream, java.util.List<QueryGraphValueEntryHashKeyed> hashKeys, java.lang.Class[] keyCoercionTypes, java.util.List<QueryGraphValueEntryRange> rangeKeyPairs, java.lang.Class[] rangeCoercionTypes)
           
 
Method Summary
 java.util.Iterator<EventBean> lookup(EventBean lookupEvent, EventTable[] indexTable, ExprEvaluatorContext context)
          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

HistoricalIndexLookupStrategyComposite

public HistoricalIndexLookupStrategyComposite(int lookupStream,
                                              java.util.List<QueryGraphValueEntryHashKeyed> hashKeys,
                                              java.lang.Class[] keyCoercionTypes,
                                              java.util.List<QueryGraphValueEntryRange> rangeKeyPairs,
                                              java.lang.Class[] rangeCoercionTypes)
Method Detail

lookup

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