All Products
Search
Document Center

Tablestore:Delete a Lastpoint index

Last Updated:Aug 04, 2026

Use Tablestore SDK for Java to delete a Lastpoint index without deleting the source time series table or its data.

Prerequisites

Install the Tablestore SDK for Java and initialize a time series client. Lastpoint indexes require version 5.17.1 or later. We recommend that you use the latest version.

Description

Call deleteTimeseriesLastpointIndex to delete a Lastpoint index. Deleting the index does not delete the source time series table or existing time series data.

public DeleteTimeseriesLastpointIndexResponse deleteTimeseriesLastpointIndex(DeleteTimeseriesLastpointIndexRequest request) throws TableStoreException, ClientException
Warning

Before you delete a Lastpoint index, make sure that no application uses it. A deleted index cannot be recovered.

The following example deletes example_lastpoint_index from example_timeseries_table.

TimeseriesClient timeseriesClient = client.asTimeseriesClient();

DeleteTimeseriesLastpointIndexRequest request =
        new DeleteTimeseriesLastpointIndexRequest(
                "example_timeseries_table",
                "example_lastpoint_index");

timeseriesClient.deleteTimeseriesLastpointIndex(request);

Parameters

DeleteTimeseriesLastpointIndexRequest contains the following parameters.

Name

Type

Description

timeseriesTableName (required)

String

The time series table name.

lastpointIndexName (required)

String

The Lastpoint index name to delete.