All Products
Search
Document Center

Tablestore:CreateTimeseriesLastpointIndex

Last Updated:Apr 10, 2025

Creates a Lastpoint index.

Request syntax

message CreateTimeseriesLastpointIndexRequest {
  required string main_table_name = 1;
  required string index_table_name = 2;
  optional bool include_base_data = 3;
}

Parameter

Type

Required

Description

main_table_name

string

Yes

The name of the time series table.

index_table_name

string

Yes

The name of the Lastpoint index.

include_base_data

bool

No

Specifies whether to include the existing data of the time series table in the Lastpoint index. Default value: false, which specifies that the existing data of the time series table is not included in the Lastpoint index.

If you want to include the existing data of the time series table in the Lastpoint index, set this parameter to true.

Response syntax

message CreateTimeseriesLastpointIndexResponse {
}

Use Tablestore SDKs

You can use Tablestore SDKs for the following programming languages to create a Lastpoint index: