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 Details

  • 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 operation
      isActiveCache - 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