Aggregate1Project1<A, B> extension

Extension methods for specifying aggregate functions over rows in a group.

on

Methods

avg<C extends num>(Expr<C?> aggregateBuilder(Expr<A> a)) Aggregation<(Expr<A>), (Expr<B>, Expr<double?>)>

Available on Aggregation<(Expr<A>), (Expr<B>)>, provided by the Aggregate1Project1 extension

Add a AVG aggregate function to this Aggregation.
count() Aggregation<(Expr<A>), (Expr<B>, Expr<int>)>

Available on Aggregation<(Expr<A>), (Expr<B>)>, provided by the Aggregate1Project1 extension

Add a COUNT(*) aggregate function to this Aggregation.
max<C extends Comparable>(Expr<C?> aggregateBuilder(Expr<A> a)) Aggregation<(Expr<A>), (Expr<B>, Expr<C?>)>

Available on Aggregation<(Expr<A>), (Expr<B>)>, provided by the Aggregate1Project1 extension

Add a MAX aggregate function to this Aggregation.
min<C extends Comparable>(Expr<C?> aggregateBuilder(Expr<A> a)) Aggregation<(Expr<A>), (Expr<B>, Expr<C?>)>

Available on Aggregation<(Expr<A>), (Expr<B>)>, provided by the Aggregate1Project1 extension

Add a MIN aggregate function to this Aggregation.
sum<C extends num>(Expr<C?> aggregateBuilder(Expr<A> a)) Aggregation<(Expr<A>), (Expr<B>, Expr<C>)>

Available on Aggregation<(Expr<A>), (Expr<B>)>, provided by the Aggregate1Project1 extension

Add a SUM aggregate function to this Aggregation.