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.
-
A TimeseriesClient instance is initialized. For more information, see Initialize an OTSClient instance.
Parameters
|
Parameter |
Description |
|
timeseriesTableName |
The name of the time series table. |
Example
The following code shows how to delete a time series table.
private static void deleteTimeseriesTable(TimeseriesClient client) {
// Specify the name of the time series table.
String tableName = "<TIMESERIES_TIME>";
DeleteTimeseriesTableRequest deleteTimeseriesTableRequest = new DeleteTimeseriesTableRequest(tableName);
client.deleteTimeseriesTable(deleteTimeseriesTableRequest);
}