You can call the ListTimeseriesTable operation to query the names of all time series tables in an instance.
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.
Example
The following sample code provides an example on how to query the names of all time series tables in an instance.
private static void listTimeseriesTable(TimeseriesClient client) {
ListTimeseriesTableResponse listTimeseriesTableResponse = client.listTimeseriesTable();
for (String table : listTimeseriesTableResponse.getTimeseriesTableNames()) {
System.out.println(table);
}
}