idx_total += t.getIndexes().size();
for (Index i : t.getIndexes()) {
if (i.getUnique()) {
idx_unique++;
}
IndexType idx_type = IndexType.get(i.getType());
idx_types.put(idx_type);
} // FOR
} // FOR
// ----------------------
// TABLE INFO
// ----------------------
m[++idx] = new LinkedHashMap<String, Integer>();
m[idx].put("Tables", tables);
m[idx].put("Replicated Tables", CatalogUtil.getReplicatedTables(catalog_db).size());
m[idx].put("Views", CatalogUtil.getViewTables(catalog_db).size());
m[idx].put("Vertical Partition Replicas", CatalogUtil.getVerticallyPartitionedTables(catalog_db).size());
m[idx].put("Evictable Tables", CatalogUtil.getEvictableTables(catalog_db).size());
m[idx].put("System Tables", CatalogUtil.getSysTables(catalog_db).size());
// ----------------------
// INDEX INFO
// ----------------------
m[++idx] = new LinkedHashMap<String, Integer>();
m[idx].put("Indexes", idx_total);
m[idx].put("Unique Indexes", idx_unique);
for (IndexType idx_type : idx_types.values()) {
m[idx].put(String.format(" + %s Indexes", idx_type.name()),
(int)idx_types.get(idx_type, 0));
} // FOR
// ----------------------
// COLUMN INFO