Output data type
Default empty aggregation value
Map input value of type T
to Interim
type
Map input value of type T
to Interim
type
value to be mapped
instance of aggregations implementation
mapped value
This aggregation name
Converts reduced value of type Interim to output type
Converts reduced value of type Interim to output type
value to be converted
instance of aggregations implementation
converted value
Reduces two mapped values into one value
Reduces two mapped values into one value
first value
second value
instance of aggregations implementation
reduced value
Aggregation definition
Aggregation performs in three steps: map-reduce-postMap. For example, we'd like to count all letters in a bunch of strings and return value as a string. Then the steps will be:
1. map:
2. reduce
3. postMap
(i: BigInt) => i.toString
input type of aggregation