Constructs a new GroupBy.

Namespace: Endeca.Navigation.Analytics
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)

Syntax

C#
public GroupBy(
	string groupingKey
)
Visual Basic
Public Sub New ( _
	groupingKey As String _
)
Visual C++
public:
GroupBy(
	String^ groupingKey
)

Parameters

groupingKey
Type: System..::..String
The name of the Endeca property or dimension by which the records will be aggregated.

Remarks

This one-parameter constructor will request aggregation of records into groups based on the Endeca property or dimension named groupingKey.

Examples

This code:
CopyC#
GroupByList g = new GroupByList();
GroupBy grByYr = new GroupBy("Year");
g.add(grBy);
performs a leaf-level grouping of records based on the Endeca dimension named Year.

See Also