Aggregate Functions
In stream queries, you can specify aggregate functions in the select clause.An aggregate function calculates a single value across all items currently in the window. EPL provides a number of commonly used aggregate functions. If a supplied aggregate function does not meet your needs, you can define a custom aggregate function.