Class PollResultIndexingStrategyNoIndex
java.lang.Object
com.espertech.esper.common.internal.epl.historical.indexingstrategy.PollResultIndexingStrategyNoIndex
- All Implemented Interfaces:
PollResultIndexingStrategy
Strategy of indexing that simply builds an unindexed table of poll results.
For use when caching is disabled or when no proper index could be build because no where-clause or on-clause exists or these clauses don't yield indexable columns on analysis.
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.historical.indexingstrategy.PollResultIndexingStrategy
EPTYPE, EPTYPEARRAY
-
Method Summary
Modifier and TypeMethodDescriptionindex
(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Build and index of a poll result.
-
Field Details
-
INSTANCE
-
-
Method Details
-
index
public EventTable[] index(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:PollResultIndexingStrategy
Build and index of a poll result.- Specified by:
index
in interfacePollResultIndexingStrategy
- Parameters:
pollResult
- result of a poll operationisActiveCache
- true to indicate that caching is active and therefore index building makes sense as the index structure is not a throw-away.exprEvaluatorContext
- statement context- Returns:
- indexed collection of poll results
-