You can call the DeleteTimeseries operation to delete a time series table.
Prerequisites
- A time series table is created. For more information, see Create a time series table.
- The TimeseriesClient is initialized. For more information, see Initialization.
Parameter
Parameter | Description |
---|---|
timeseriesTableName | The name of the time series table. |
Example
Delete a time series table named test_timeseries_table.
private static void deleteTimeseriesTable(TimeseriesClient client) {
String tableName = "test_timeseries_table";
DeleteTimeseriesTableRequest deleteTimeseriesTableRequest = new DeleteTimeseriesTableRequest(tableName);
client.deleteTimeseriesTable(deleteTimeseriesTableRequest);
}