boolean validStat = false;
ExecRow row = getExecutionFactory().getValueRow(SYSSTATISTICS_COLUMN_COUNT);
if (td != null)
{
StatisticsDescriptor statDesc = (StatisticsDescriptor)td;
myID = statDesc.getUUID().toString();
tableID = statDesc.getTableUUID().toString();
referenceID = statDesc.getReferenceID().toString();
updateTime = statDesc.getUpdateTimestamp();
statType = statDesc.getStatType();
validStat = statDesc.isValid();
statisticsObject = statDesc.getStatistic();
columnCount = statDesc.getColumnCount();
}
row.setColumn(1, new SQLChar(myID));
row.setColumn(2, new SQLChar(referenceID));
row.setColumn(3, new SQLChar(tableID));