|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.core.ResultSetProcessorRowPerGroupRollupFactory
public class ResultSetProcessorRowPerGroupRollupFactory
Result set processor prototype for the fully-grouped case: there is a group-by and all non-aggregation event properties in the select clause are listed in the group by, and there are aggregation functions.
Constructor Summary | |
---|---|
ResultSetProcessorRowPerGroupRollupFactory(GroupByRollupPerLevelExpression perLevelExpression,
ExprNode[] groupKeyNodeExpressions,
ExprEvaluator[] groupKeyNodes,
boolean isSelectRStream,
boolean isUnidirectional,
OutputLimitSpec outputLimitSpec,
boolean isSorting,
boolean noDataWindowSingleStream,
AggregationGroupByRollupDesc groupByRollupDesc,
boolean isJoin,
boolean isHistoricalOnly,
boolean iterateUnbounded,
OutputConditionPolledFactory optionalOutputFirstConditionFactory,
ResultSetProcessorHelperFactory resultSetProcessorHelperFactory,
boolean enableOutputLimitOpt,
int numStreams)
Ctor. |
Method Summary | |
---|---|
AggregationGroupByRollupDesc |
getGroupByRollupDesc()
|
ExprEvaluator |
getGroupKeyNode()
|
ExprNode[] |
getGroupKeyNodeExpressions()
|
ExprEvaluator[] |
getGroupKeyNodes()
|
int |
getNumStreams()
|
OutputConditionPolledFactory |
getOptionalOutputFirstConditionFactory()
|
OutputLimitSpec |
getOutputLimitSpec()
|
GroupByRollupPerLevelExpression |
getPerLevelExpression()
|
EventType |
getResultEventType()
Returns the event type of processed results. |
ResultSetProcessorHelperFactory |
getResultSetProcessorHelperFactory()
|
ResultSetProcessorType |
getResultSetProcessorType()
Returns the type of result set processor. |
boolean |
hasAggregation()
|
ResultSetProcessor |
instantiate(OrderByProcessor orderByProcessor,
AggregationService aggregationService,
AgentInstanceContext agentInstanceContext)
|
boolean |
isEnableOutputLimitOpt()
|
boolean |
isHistoricalOnly()
|
boolean |
isJoin()
|
boolean |
isSelectRStream()
|
boolean |
isSorting()
|
boolean |
isUnidirectional()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetProcessorRowPerGroupRollupFactory(GroupByRollupPerLevelExpression perLevelExpression, ExprNode[] groupKeyNodeExpressions, ExprEvaluator[] groupKeyNodes, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean noDataWindowSingleStream, AggregationGroupByRollupDesc groupByRollupDesc, boolean isJoin, boolean isHistoricalOnly, boolean iterateUnbounded, OutputConditionPolledFactory optionalOutputFirstConditionFactory, ResultSetProcessorHelperFactory resultSetProcessorHelperFactory, boolean enableOutputLimitOpt, int numStreams)
groupKeyNodes
- - list of group-by expression nodes needed for building the group-by keys
Aggregation functions in the having node must have been pointed to the AggregationService for evaluation.isSelectRStream
- - true if remove stream events should be generatedisUnidirectional
- - true if unidirectional joinMethod Detail |
---|
public ResultSetProcessor instantiate(OrderByProcessor orderByProcessor, AggregationService aggregationService, AgentInstanceContext agentInstanceContext)
instantiate
in interface ResultSetProcessorFactory
public EventType getResultEventType()
ResultSetProcessorFactory
getResultEventType
in interface ResultSetProcessorFactory
public boolean hasAggregation()
hasAggregation
in interface ResultSetProcessorFactory
public ExprEvaluator[] getGroupKeyNodes()
public ExprEvaluator getGroupKeyNode()
public boolean isSorting()
public boolean isSelectRStream()
public boolean isUnidirectional()
public OutputLimitSpec getOutputLimitSpec()
public ExprNode[] getGroupKeyNodeExpressions()
public AggregationGroupByRollupDesc getGroupByRollupDesc()
public GroupByRollupPerLevelExpression getPerLevelExpression()
public boolean isJoin()
public boolean isHistoricalOnly()
public ResultSetProcessorType getResultSetProcessorType()
ResultSetProcessorFactory
getResultSetProcessorType
in interface ResultSetProcessorFactory
public OutputConditionPolledFactory getOptionalOutputFirstConditionFactory()
public boolean isEnableOutputLimitOpt()
public ResultSetProcessorHelperFactory getResultSetProcessorHelperFactory()
public int getNumStreams()
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |