Class ResultSetProcessorRowPerGroupRollupUtil
java.lang.Object
com.espertech.esper.common.internal.epl.resultset.rowpergrouprollup.ResultSetProcessorRowPerGroupRollupUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventsAndSortKeysPair
getOldEventsSortKeys
(int oldEventCount, EventArrayAndSortKeyArray rstreamEventSortArrayBuf, OrderByProcessor orderByProcessor, AggregationGroupByRollupDesc rollupDesc) initializeOutputFirstHelpers
(ResultSetProcessorHelperFactory resultSetProcessorHelperFactory, ExprEvaluatorContext exprEvaluatorContext, EPType[] groupKeyTypes, AggregationGroupByRollupDesc groupByRollupDesc, OutputConditionPolledFactory outputConditionPolledFactory, StateMgmtSetting outputLimitHelperSettings) NOTE: Code-generation-invoked method, method name and parameter order mattersmakeGroupRepsPerLevelBuf
(int levelCount) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventArrayAndSortKeyArray
makeRStreamSortedArrayBuf
(int length, boolean isSorting) NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
ResultSetProcessorRowPerGroupRollupUtil
public ResultSetProcessorRowPerGroupRollupUtil()
-
-
Method Details
-
getOldEventsSortKeys
public static EventsAndSortKeysPair getOldEventsSortKeys(int oldEventCount, EventArrayAndSortKeyArray rstreamEventSortArrayBuf, OrderByProcessor orderByProcessor, AggregationGroupByRollupDesc rollupDesc) -
makeRStreamSortedArrayBuf
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
length
- num-levelsisSorting
- sorting flag- Returns:
- buffer
-
makeGroupRepsPerLevelBuf
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 factoryexprEvaluatorContext
- contextgroupKeyTypes
- typesgroupByRollupDesc
- rollup intooutputConditionPolledFactory
- condition factoryoutputLimitHelperSettings
- state management settings for output rate limiter- Returns:
- helpers
-