All Products
Search
Document Center

Tablestore:GroupByHistogramItem

Last Updated:May 10, 2024

GroupByDateHistogramItem specifies the information of a single group grouped by histogram.

Data structure

message GroupByHistogramItem {
    optional bytes key = 1;
    optional int64 value = 2;
    optional AggregationsResult sub_aggs_result = 3;
    optional GroupBysResult sub_group_bys_result = 4;
}

Parameter

Type

Required

Description

key

bytes

Yes

The field value of a single group. The value of this parameter must be encoded in PlainBuffer. For more information, see PlainBuffer.

row_count

int64

Yes

The total number of rows of a single group.

sub_aggs_result

AggregationsResult

No

The returned information about the sub-aggregation operation.

sub_group_bys_result

GroupBysResult

No

The returned information about the sub-GroupBy operation.