使用ListTable接口获取当前实例下已创建的所有表的表名。
说明 API说明请参见ListTable。
示例
获取实例下所有表的表名。
private static void listTable(SyncClient client) {
ListTableResponse response = client.listTable();
System.out.println("表的列表如下:");
for (String tableName : response.getTableNames()) {
System.out.println(tableName);
}
}
在文档使用中是否遇到以下问题
更多建议
匿名提交