在GetStreamRecord的响应消息中,表示一行数据。
数据结构
message StreamRecord {
required ActionType action_type = 1;
required bytes record = 2;
}名称 | 类型 | 是否必选 | 描述 |
action_type | ActionType | 是 | 表示该行的操作类型。 |
record | bytes | 是 | 表示该行的数据内容。 |
相关操作
GetStreamRecord
在GetStreamRecord的响应消息中,表示一行数据。
message StreamRecord {
required ActionType action_type = 1;
required bytes record = 2;
}名称 | 类型 | 是否必选 | 描述 |
action_type | ActionType | 是 | 表示该行的操作类型。 |
record | bytes | 是 | 表示该行的数据内容。 |
GetStreamRecord
在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表示去重统计行数,