((Storable)returnRow[firstAggregatorColumn]).isNull())
{
for (int i = 0; i < aggsToInitialize.length; i++)
{
GenericAggregator aggregator = aggsToInitialize[i];
UserDataValue wrapper = ((UserDataValue)returnRow[aggregator.aggregatorColumnId]);
if (SanityManager.DEBUG)
{
if (!wrapper.isNull())
{
SanityManager.THROWASSERT("during aggregate "+
"initialization, all wrappers expected to be empty; "+
"however, the wrapper for the following aggregate " +
"was not empty:" +aggregator+". The value stored is "+
wrapper.getObject());
}
}
wrapper.setValue(aggregator.getAggregatorInstance());
aggregator.accumulate(returnRow, returnRow);
}
}
return returnRow;