調用QueryTimeseriesMeta介面檢索時間軸中繼資料。

請求訊息結構

message QueryTimeseriesMetaRequest {
  required string table_name = 1;
  optional MetaQueryCondition condition = 2;
  optional bool get_total_hit = 3;
  optional bytes token = 4;
  optional int32 limit = 5;
}
名稱 類型 是否必選 描述
table_name string 時序表名。
condition MetaQueryCondition 時間軸檢索條件。
get_total_hit bool 是否擷取符合條件總行數。
token bytes 用於繼續擷取剩餘資料的標識。
limit int32 最多返回的行數限制。

響應訊息結構

message QueryTimeseriesMetaResponse {
  repeated TimeseriesMeta timeseries_metas = 1;
  optional int64 total_hit = 2;
  optional bytes next_token = 3;
}
名稱 類型 描述
timeseries_metas TimeseriesMeta 時間軸中繼資料列表。
total_hit int64 符合條件總行數。
next_token bytes 用於擷取剩餘資料的標識。

使用SDK

您可以使用如下語言的SDK檢索時間軸。