Creates a new ExprAggregate, which will compute an aggregate function over the evaluation of the subexpression expr on the members of the aggregated record.

Namespace: Endeca.Navigation.Analytics
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (6.2.2.8614)

Syntax

C#
public ExprAggregate(
	ExprAggregate..::..ExprAggregateOp function,
	IExpr expr
)
Visual Basic
Public Sub New ( _
	function As ExprAggregate..::..ExprAggregateOp, _
	expr As IExpr _
)
Visual C++
public:
ExprAggregate(
	ExprAggregate..::..ExprAggregateOp^ function, 
	IExpr^ expr
)

Parameters

function
Type: Endeca.Navigation.Analytics..::..ExprAggregate..::..ExprAggregateOp
An aggregate function of type ExprAggregate..::..ExprAggregateOp. See the Function property for a list of the function names.
expr
Type: Endeca.Navigation.Analytics..::..IExpr
An object of type IExpr that will be the subexpression for this ExprAggregate.

Remarks

ExprAggregate nodes may not be nested. That is, neither the specified subexpression expr nor any of its descendant subexpressions may be instances of ExprAggregate; otherwise, the resulting expression is semantically invalid (note that this will not be caught by the ValidateSyntax()()()() method).

See Also