QueryNumAggregation<T extends num?> extension
Aggregation operations for number queries.
- on
Methods
-
average(
) → double -
Available on DatabaseUniverseQuery<
Calculates the average of all values. This only works for numeric values.T?> , provided by the QueryNumAggregation extension -
averageAsync(
) → Future< double> -
Available on DatabaseUniverseQuery<
Calculates the average of all values. This only works for numeric values.T?> , provided by the QueryNumAggregation extension -
max(
) → T? -
Available on DatabaseUniverseQuery<
Finds the largest value matching the query.T?> , provided by the QueryNumAggregation extension -
maxAsync(
) → Future< T?> -
Available on DatabaseUniverseQuery<
Finds the largest value matching the query.T?> , provided by the QueryNumAggregation extension -
min(
) → T? -
Available on DatabaseUniverseQuery<
Finds the smallest value matching the query. Null values are considered smaller than all other values.T?> , provided by the QueryNumAggregation extension -
minAsync(
) → Future< T?> -
Available on DatabaseUniverseQuery<
Finds the smallest value matching the query. Null values are considered smaller than all other values.T?> , provided by the QueryNumAggregation extension -
sum(
) → T -
Available on DatabaseUniverseQuery<
Calculates the sum of all values. This only works for numeric values.T?> , provided by the QueryNumAggregation extension -
sumAsync(
) → Future< T> -
Available on DatabaseUniverseQuery<
Calculates the sum of all values. This only works for numeric values.T?> , provided by the QueryNumAggregation extension