AggregationIterator — Generic Iterator of UnsafeRows for Aggregate Physical Operators
Iterators are data structures that allow to iterate over a sequence of elements. They have a
hasNextmethod for checking if there is a next element available, and anextmethod which returns the next element and discards it from the iterator.
| 
 Note 
 | 
AggregationIterator is a Scala abstract class.
 | 
| Name | Description | ||
|---|---|---|---|
  | 
Used exclusively when   | 
||
  | 
Used exclusively when   | 
||
Used exclusively when  
  | 
| Name | Description | 
|---|---|
Used when…FIXME  | 
|
ImperativeAggregate functions Used when…FIXME  | 
|
Positions Used when…FIXME  | 
|
 Used when…FIXME  | 
|
 Used when…FIXME  | 
|
Grouping attributes Used when…FIXME  | 
|
Used when…FIXME  | 
|
 Used when…FIXME  | 
Creating AggregationIterator Instance
AggregationIterator takes the following when created:
- 
Grouping named expressions
 - 
Input attributes
 - 
Aggregate attributes
 - 
Result named expressions
 - 
Function to create a new
MutableProjectiongiven expressions and attributes 
AggregationIterator initializes the internal registries and counters.
 initializeAggregateFunctions
| 
 Caution 
 | 
FIXME | 
 generateProcessRow Method
| 
 Caution 
 | 
FIXME |