Constructs a new GroupBy.
- groupingKey (String)
- The name of the Endeca property or dimension by which the records will be aggregated.
This one-parameter constructor will request
aggregation of records into groups based on the Endeca
property or dimension named groupingKey.
This code:
CopyC#
performs a leaf-level grouping of records based
on the Endeca dimension named Year.
GroupByList g = new GroupByList(); GroupBy grByYr = new GroupBy("Year"); g.add(grBy);