public class ResultSetProcessorRowPerGroupRollupFactory extends java.lang.Object implements ResultSetProcessorFactory
Constructor and Description |
---|
ResultSetProcessorRowPerGroupRollupFactory(GroupByRollupPerLevelExpression perLevelExpression,
ExprNode[] groupKeyNodeExpressions,
ExprEvaluator[] groupKeyNodes,
boolean isSelectRStream,
boolean isUnidirectional,
OutputLimitSpec outputLimitSpec,
boolean isSorting,
boolean noDataWindowSingleStream,
AggregationGroupByRollupDesc groupByRollupDesc,
boolean isJoin)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
AggregationGroupByRollupDesc |
getGroupByRollupDesc() |
ExprEvaluator |
getGroupKeyNode() |
ExprNode[] |
getGroupKeyNodeExpressions() |
ExprEvaluator[] |
getGroupKeyNodes() |
OutputLimitSpec |
getOutputLimitSpec() |
GroupByRollupPerLevelExpression |
getPerLevelExpression() |
EventType |
getResultEventType()
Returns the event type of processed results.
|
boolean |
hasAggregation() |
ResultSetProcessor |
instantiate(OrderByProcessor orderByProcessor,
AggregationService aggregationService,
AgentInstanceContext agentInstanceContext) |
boolean |
isJoin() |
boolean |
isSelectRStream() |
boolean |
isSorting() |
boolean |
isUnidirectional() |
public ResultSetProcessorRowPerGroupRollupFactory(GroupByRollupPerLevelExpression perLevelExpression, ExprNode[] groupKeyNodeExpressions, ExprEvaluator[] groupKeyNodes, boolean isSelectRStream, boolean isUnidirectional, OutputLimitSpec outputLimitSpec, boolean isSorting, boolean noDataWindowSingleStream, AggregationGroupByRollupDesc groupByRollupDesc, boolean isJoin)
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 joinpublic 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()