Class HistoricalIndexLookupStrategyHash
java.lang.Object
com.espertech.esper.common.internal.epl.historical.lookupstrategy.HistoricalIndexLookupStrategyHash
- All Implemented Interfaces:
HistoricalIndexLookupStrategy
public class HistoricalIndexLookupStrategyHash
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
setEvaluator
(ExprEvaluator evaluator) void
setLookupStream
(int lookupStream)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
HistoricalIndexLookupStrategyHash
public HistoricalIndexLookupStrategyHash()
-
-
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
-
setEvaluator
-
setLookupStream
public void setLookupStream(int lookupStream)
-