.and("index_id", "index_id");
// Statistics service relies on decoding rowdata manually
if (schemaManager instanceof FDBSchemaManager) {
Group istn = builder.unvalidatedAIS().getTable(INDEX_STATISTICS_TABLE_NAME).getGroup();
istn.setStorageDescription(new FDBStorageDescription(istn, "rowdata"));
Collection<TableIndex> collection = builder.unvalidatedAIS().getTable(INDEX_STATISTICS_TABLE_NAME).getIndexes();
for (TableIndex ti : collection) {
ti.setStorageDescription(new FDBStorageDescription(ti, "rowdata"));
}
Group isetn = builder.unvalidatedAIS().getTable(INDEX_STATISTICS_ENTRY_TABLE_NAME).getGroup();
isetn.setStorageDescription(new FDBStorageDescription(isetn, "rowdata"));
Collection<TableIndex> collection_isetn = builder.unvalidatedAIS().getTable(INDEX_STATISTICS_ENTRY_TABLE_NAME).getIndexes();
for (TableIndex ti : collection_isetn) {
ti.setStorageDescription(new FDBStorageDescription(ti, "rowdata"));
}
}
builder.procedure(TableName.SYS_SCHEMA, "index_stats_delete")
.language("java", Routine.CallingConvention.JAVA)