}
@Override
public void drop(JdbcIndex<?> index) {
if (!exists(index)) {
throw new NoSuchTableException("Table for index " + index.getName() + " does not exist");
}
String tableName = getTableNameTranslator().translate(index);
if (tableName == null || tableName.isEmpty()) {
throw new NoSuchTableException("Table name for index " + index + " could not be resolved. Can not drop.");
}
jdbc().update("DROP TABLE " + tableName);
registry.remove(index);
}