表示数据通道类型。
枚举取值列表
BaseData:全量类型。只能消费处理全量数据。
Stream:增量类型。只能消费处理增量数据。
BaseAndStream:全量加增量类型。全量数据消费处理完成后,再消费处理增量数据。
enum TunnelType {
BaseData = 1;
Stream = 2;
BaseAndStream = 3;
}相关操作
CreateTunnel
表示数据通道类型。
BaseData:全量类型。只能消费处理全量数据。
Stream:增量类型。只能消费处理增量数据。
BaseAndStream:全量加增量类型。全量数据消费处理完成后,再消费处理增量数据。
enum TunnelType {
BaseData = 1;
Stream = 2;
BaseAndStream = 3;
}CreateTunnel
在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表示去重统计行数,