Aggregate2Project1<A, B, C> extension

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

on

Methods

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

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

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

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

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

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

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

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

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

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

Add a SUM aggregate function to this Aggregation.