}
protected void deleteAllTables() {
String lastTableName = null;
while (true) {
ListTablesResult res = getClient().listTables(new ListTablesRequest().withExclusiveStartTableName(lastTableName));
for (String tableName : res.getTableNames()) {
getClient().deleteTable(new DeleteTableRequest(tableName));
}
lastTableName = res.getLastEvaluatedTableName();
if (lastTableName == null) {
break;
}
}
}