aggregator.input(inputType, inputSource, pAggrTypes.get(i), pAggrsStates.get(i), options.get(i));
}
}
private Row createOutput() {
ValuesHolderRow outputRow = newOutputRow();
for(int i = 0; i < inputsIndex; ++i) {
Value value = outputRow.valueAt(i);
Value key = keyValues.get(i);
ValueTargets.copyFrom(key, value);
}
for (int i = inputsIndex; i < inputRowType.nFields(); ++i) {
Value value = outputRow.valueAt(i);
int aggregatorIndex = i - inputsIndex;
Value aggregatorState = pAggrsStates.get(aggregatorIndex);
if (aggregatorState.hasAnyValue())
ValueTargets.copyFrom(aggregatorState, value);
else