帮助文档 Logo
平台使用
阿里云
百度云
移动云
智算服务
教育生态
登录 →
帮助文档 Logo
平台使用 阿里云 百度云 移动云 智算服务 教育生态
登录
  1. 首页
  2. 阿里云
  3. 表格存储
  4. 开发参考
  5. API参考(数据管理)
  6. DataType定义
  7. TimeseriesTableMeta

TimeseriesTableMeta

  • DataType定义
  • 发布于 2025-04-22
  • 0 次阅读
文档编辑
文档编辑

表示时序表的表结构和配置。

数据结构

message TimeseriesTableMeta {
  required string table_name = 1;
  optional TimeseriesTableOptions table_options = 2;
  optional string status = 3;
  optional TimeseriesMetaOptions meta_options = 4;
  repeated string timeseries_key_schema = 5;
  repeated PrimaryKeySchema field_primary_key_schema = 6;
}

名称

类型

是否必选

描述

table_name

string

是

表名。

table_options

TimeseriesTableOptions

否

表的配置信息。

status

string

否

表状态。取值范围如下:

  • CREATING:创建中。

  • CREATED:创建完成。

  • DELETING:删除中。

meta_options

TimeseriesMetaOptions

否

时间线表的配置信息。

timeseries_key_schema

string

否

时间线标识默认由度量名称、数据源和标签构成,您可以根据业务需要自定义时间线标识。

field_primary_key_schema

PrimaryKeySchema

否

作为主键的数据字段,支持配置多个。

当实际业务中存在时间线标识和时间点相同,但是时序数据不同的数据存储需求时,您可以通过为时序表添加作为主键的数据字段来实现。

相关文章

ActionType 2025-04-22 14:32

在GetStreamRecord的响应消息中表示操作类型。 枚举取值列表

Aggregation 2025-04-22 14:32

表示单个统计聚合配置。 数据结构 message Aggregation { optional string name = 1; optional AggregationType type = 2;

AggregationResult 2025-04-22 14:32

表示单个统计聚合Aggregation的返回信息。 数据结构 message AggregationResult { optional string name = 1; optional Aggregatio

Aggregations 2025-04-22 14:32

表示统计聚合配置。 数据结构 message Aggregations { repeated Aggregation aggs = 1; }

AggregationsResult 2025-04-22 14:32

表示统计聚合中Aggregation的返回信息。 数据结构 message AggregationsResult { repeated AggregationResult agg_results = 1; }

AggregationType 2025-04-22 14:32

表示统计聚合类型。 枚举取值列表 AGG_AVG表示求平均值。 AGG_DISTINCT_COUNT表示去重统计行数,

目录
Copyright © 2025 your company All Rights Reserved. Powered by 博智数字服务平台.
闽ICP备08105208号-1