[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns an instance to handle the aggregation required by the aggregation expression nodes, depending on whether there are any group-by nodes.

Namespace: net.esper.eql.core
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetService ( _
	aggregateExprNodes As IList(Of ExprAggregateNode), _
	hasGroupByClause As Boolean, _
	optionalHavingNode As ExprNode, _
	sortByNodes As IList(Of ExprNode) _
) As AggregationService
C#
public static AggregationService GetService (
	IList<ExprAggregateNode> aggregateExprNodes,
	bool hasGroupByClause,
	ExprNode optionalHavingNode,
	IList<ExprNode> sortByNodes
)
Visual C++
public:
static AggregationService^ GetService (
	IList<ExprAggregateNode^>^ aggregateExprNodes, 
	bool hasGroupByClause, 
	ExprNode^ optionalHavingNode, 
	IList<ExprNode^>^ sortByNodes
)

Parameters

aggregateExprNodes
System.Collections.Generic.IList<(Of T>)
aggregation nodes extracted out of the select expression
hasGroupByClause
System.Boolean
indicator on whethere there is group-by required, or group-all
optionalHavingNode
net.esper.eql.expression.ExprNode
having node if having-clause was specified, or null if no having-clause given
sortByNodes
System.Collections.Generic.IList<(Of T>)
the nodes for the sort-by clause

Return Value

instance for aggregation handling