(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
Initializes buffer values for all aggregate functions.
Initializes buffer values for all aggregate functions.
The base class of SortBasedAggregationIterator and TungstenAggregationIterator. It mainly contains two parts: 1. It initializes aggregate functions. 2. It creates two functions,
processRowandgenerateOutputbased on AggregateMode of its aggregate functions.processRowis the function to handle an input.generateOutputis used to generate result.