Method Name | Description |
---|---|
getOutputType | Called at initialization to determine the output type. |
getInternalTypes | Called at initialization to determine the types of each of the internal fields. This determines the types that must be stored in the array representation. |
setInputs | Called from the Group operator to provide the Aggregator with a handle to its input fields. |
accumulate | Called by the Group operator during the compute-partials step for each input row. The Aggregator should add the values from the current row to its internal counters. |
combineInternals | Called by the Group operator during the combine-partials step for each group of partial results. The Aggregator should add the supplied values to its internal counters. |
storeInternals | Called by the Group operator during the compute-partials step. This is used to output partial rows and is used to store data into the group LRU cache when switching groups. |
reset | Called by the Group operator to "zero-out" the internal counts. The Group operator will call reset followed by a combineInternals for cases where it needs to load internal values. Thus, there is not a separate loadInternals method to implement. |
storeFinalResults | Called by the Group operator during the output-final step to output final results. |