All Products
Search
Document Center

Tablestore:GroupByFieldResultItem

Last Updated:May 10, 2024

GroupByFieldResultItem specifies the information about a group returned from the GroupByField aggregation operation.

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.

row_count

int64

Yes

The total number of rows.

sub_aggs_result

AggregationsResult

No

The returned results of the sub-aggregation operation.

sub_group_bys_result

GroupBysResult

No

The returned results of the sub-GroupBy operation.