Interface PollResultIndexingStrategy
- All Known Implementing Classes:
PollResultIndexingStrategyComposite
,PollResultIndexingStrategyHash
,PollResultIndexingStrategyInKeywordMulti
,PollResultIndexingStrategyMulti
,PollResultIndexingStrategyNoIndex
,PollResultIndexingStrategySorted
public interface PollResultIndexingStrategy
A strategy for converting a poll-result into a potentially indexed table.
Some implementations may decide to not index the poll result and simply hold a reference to the result. Other implementations may use predetermined index properties to index the poll result for faster lookup.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionindex
(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Build and index of a poll result.
-
Field Details
-
EPTYPE
-
EPTYPEARRAY
-
-
Method Details
-
index
EventTable[] index(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Build and index of a poll result.- 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
-