GroupByFieldResultItem contains the information about a single group returned by a GroupByField aggregation.
Data structure
message GroupByFieldResultItem {
optional string key = 1;
optional int64 row_count = 2;
optional AggregationsResult sub_aggs_result = 3;
optional GroupBysResult sub_group_bys_result = 4;
}
|
Parameter |
Type |
Required |
Description |
|
key |
string |
Yes |
The field value used to group rows. |
|
row_count |
int64 |
Yes |
The total number of rows in the group. |
|
sub_aggs_result |
No |
The results of sub-aggregation operations. |
|
|
sub_group_bys_result |
No |
The results of sub-GroupBy operations. |