Class ResultSetProcessorRowPerGroupRollupUtil

java.lang.Object
com.espertech.esper.common.internal.epl.resultset.rowpergrouprollup.ResultSetProcessorRowPerGroupRollupUtil

public class ResultSetProcessorRowPerGroupRollupUtil extends Object
  • Constructor Details

    • ResultSetProcessorRowPerGroupRollupUtil

      public ResultSetProcessorRowPerGroupRollupUtil()
  • Method Details

    • getOldEventsSortKeys

      public static EventsAndSortKeysPair getOldEventsSortKeys(int oldEventCount, EventArrayAndSortKeyArray rstreamEventSortArrayBuf, OrderByProcessor orderByProcessor, AggregationGroupByRollupDesc rollupDesc)
    • makeRStreamSortedArrayBuf

      public static EventArrayAndSortKeyArray makeRStreamSortedArrayBuf(int length, boolean isSorting)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      length - num-levels
      isSorting - sorting flag
      Returns:
      buffer
    • makeGroupRepsPerLevelBuf

      public static Map<Object,EventBean[]>[] makeGroupRepsPerLevelBuf(int levelCount)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      levelCount - num-levels
      Returns:
      buffer
    • initializeOutputFirstHelpers

      public static ResultSetProcessorGroupedOutputFirstHelper[] initializeOutputFirstHelpers(ResultSetProcessorHelperFactory resultSetProcessorHelperFactory, ExprEvaluatorContext exprEvaluatorContext, EPType[] groupKeyTypes, AggregationGroupByRollupDesc groupByRollupDesc, OutputConditionPolledFactory outputConditionPolledFactory, StateMgmtSetting outputLimitHelperSettings)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      resultSetProcessorHelperFactory - helper factory
      exprEvaluatorContext - context
      groupKeyTypes - types
      groupByRollupDesc - rollup into
      outputConditionPolledFactory - condition factory
      outputLimitHelperSettings - state management settings for output rate limiter
      Returns:
      helpers