Class PollResultIndexingStrategyHash

java.lang.Object
com.espertech.esper.common.internal.epl.historical.indexingstrategy.PollResultIndexingStrategyHash
All Implemented Interfaces:
PollResultIndexingStrategy

public class PollResultIndexingStrategyHash extends Object implements PollResultIndexingStrategy
  • Field Details

  • Constructor Details

    • PollResultIndexingStrategyHash

      public PollResultIndexingStrategyHash()
  • 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 interface PollResultIndexingStrategy
      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
    • setStreamNum

      public void setStreamNum(int streamNum)
    • setPropertyNames

      public void setPropertyNames(String[] propertyNames)
    • setValueGetter

      public void setValueGetter(EventPropertyValueGetter valueGetter)
    • init

      public void init()