Class HistoricalIndexLookupStrategyMulti
java.lang.Object
com.espertech.esper.common.internal.epl.historical.lookupstrategy.HistoricalIndexLookupStrategyMulti
- All Implemented Interfaces:
HistoricalIndexLookupStrategy
public class HistoricalIndexLookupStrategyMulti
extends Object
implements HistoricalIndexLookupStrategy
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlookup
(EventBean lookupEvent, EventTable[] index, 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.void
setIndexUsed
(int indexUsed) void
setInnerLookupStrategy
(HistoricalIndexLookupStrategy innerLookupStrategy)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
HistoricalIndexLookupStrategyMulti
public HistoricalIndexLookupStrategyMulti()
-
-
Method Details
-
lookup
public Iterator<EventBean> lookup(EventBean lookupEvent, EventTable[] index, 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 interfaceHistoricalIndexLookupStrategy
- Parameters:
lookupEvent
- provides properties to use as key values for indexesindex
- is the table providing the cache result set, potentially indexed by index fieldscontext
- context- Returns:
- full set or partial index iterator
-
setIndexUsed
public void setIndexUsed(int indexUsed) -
setInnerLookupStrategy
-