SUM

The SUM aggregation function calculates the sum of numerical values over an input stream.

For example, you can process the total sales.

See Also
RESULT SET
AGGREGATE
GROUP BY
Choose Where to Apply Aggregations
Parameter Description
Filter expressionAn expression to keep some elements only. It is useful to process the aggregation on a subpart of your input stream.
Expression Extracts the numerical value of each element of the input stream. For example, person.income if your input is a stream of persons.

Default: identity function.

Ignore nullsBy default the aggregation ignores null elements. If false, the aggregation returns null if it finds at least one null.

Default: true.