private boolean qualifiesForStatisticsUpdateCheck(TableDescriptor td)
throws StandardException {
int qualifiedIndexes = 0;
// Only base tables qualifies.
if (td.getTableType() == TableDescriptor.BASE_TABLE_TYPE) {
IndexStatisticsDaemonImpl istatDaemon = (IndexStatisticsDaemonImpl)
getDataDictionary().getIndexStatsRefresher(false);
// Usually only tables with at least one non-unique index or
// multi-column unique indexes qualify, but soft-upgrade mode is a
// special case (as is the temporary user override available).
// TODO: Rewrite if-logic when the temporary override is removed.