public void validate(AkibanInformationSchema ais, AISValidationOutput output) {
for (Table table : ais.getTables().values()) {
for (TableIndex index : table.getIndexesIncludingInternal()) {
if (index.getKeyColumns().size() == 0) {
output.reportFailure(new AISValidationFailure (
new IndexLacksColumnsException(table.getName(), index.getIndexName().getName())));
}
}
}
}