private void writeIndexesStatements() throws IOException {
if (!indexes.isEmpty()) {
PMapperRdb mapper = (PMapperRdb) msm.getPMapper();
msm.getFileWriter().write("----------- INDEXES ---------\n");
for (Iterator it = indexes.iterator(); it.hasNext();) {
SpeedoIndex si = (SpeedoIndex) it.next();
log("[DEBUG] SpeedoIndex " + si.name, Project.MSG_DEBUG);
if (isGenerateDrop()) {
msm.getFileWriter().write(
mapper.getRdbAdapter().getDropIndex(si.name, si.table) + "\n");
}