按照某个子统计聚合结果排序的排序规则。
数据结构
message SubAggSort {
optional string sub_agg_name = 1;
optional SortOrder order = 2;
}名称 | 类型 | 是否必选 | 描述 |
sub_agg_name | string | 是 | 子统计聚合名称。 |
order | SortOrder | 是 | 子统计聚合结果的排序顺序。 |
按照某个子统计聚合结果排序的排序规则。
message SubAggSort {
optional string sub_agg_name = 1;
optional SortOrder order = 2;
}名称 | 类型 | 是否必选 | 描述 |
sub_agg_name | string | 是 | 子统计聚合名称。 |
order | SortOrder | 是 | 子统计聚合结果的排序顺序。 |
在GetStreamRecord的响应消息中表示操作类型。 枚举取值列表
表示单个统计聚合配置。 数据结构 message Aggregation { optional string name = 1; optional AggregationType type = 2;
表示单个统计聚合Aggregation的返回信息。 数据结构 message AggregationResult { optional string name = 1; optional Aggregatio
表示统计聚合配置。 数据结构 message Aggregations { repeated Aggregation aggs = 1; }
表示统计聚合中Aggregation的返回信息。 数据结构 message AggregationsResult { repeated AggregationResult agg_results = 1; }
表示统计聚合类型。 枚举取值列表 AGG_AVG表示求平均值。 AGG_DISTINCT_COUNT表示去重统计行数,