All Products
Search
Document Center

Tablestore:SubAggSort

Last Updated:May 10, 2024

RowCountSort specifies sorting based on the sub-aggregation results.

Data structure

message SubAggSort {
    optional string sub_agg_name = 1;
    optional SortOrder order = 2;
}

Parameter

Type

Required

Description

sub_agg_name

string

Yes

The name of the sub-aggregation.

order

SortOrder

Yes

The sorting method based on the sub-aggregation results.