Class HistoricalIndexLookupStrategyComposite
java.lang.Object
com.espertech.esper.common.internal.epl.historical.lookupstrategy.HistoricalIndexLookupStrategyComposite
- All Implemented Interfaces:
HistoricalIndexLookupStrategy
public class HistoricalIndexLookupStrategyComposite
extends Object
implements HistoricalIndexLookupStrategy
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
lookup
(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
setChain
(CompositeIndexQuery chain) void
setHashGetter
(ExprEvaluator hashGetter) void
setLookupStream
(int lookupStream) void
setRangeProps
(QueryGraphValueEntryRange[] rangeProps)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
HistoricalIndexLookupStrategyComposite
public HistoricalIndexLookupStrategyComposite()
-
-
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
-
setLookupStream
public void setLookupStream(int lookupStream) -
setHashGetter
-
setRangeProps
-
setChain
-
init
public void init()
-