Uses of Class
com.google.cloud.firestore.pipeline.expressions.AggregateFunction
Packages that use AggregateFunction
-
Uses of AggregateFunction in com.google.cloud.firestore
Methods in com.google.cloud.firestore with parameters of type AggregateFunctionModifier and TypeMethodDescriptionstatic ValuePipelineUtils.encodeValue(AggregateFunction value) -
Uses of AggregateFunction in com.google.cloud.firestore.pipeline.expressions
Methods in com.google.cloud.firestore.pipeline.expressions that return AggregateFunctionModifier and TypeMethodDescriptionstatic AggregateFunctionAggregateFunction.arrayAgg(Expression expression) Creates an aggregation that collects all values of an expression across multiple stage inputs into an array.static AggregateFunctionCreates an aggregation that collects all values of a field across multiple stage inputs into an array.final AggregateFunctionExpression.arrayAgg()Creates an aggregation that collects all values of this expression across multiple stage inputs into an array.static AggregateFunctionAggregateFunction.arrayAggDistinct(Expression expression) Creates an aggregation that collects all distinct values of an expression across multiple stage inputs into an array.static AggregateFunctionAggregateFunction.arrayAggDistinct(String fieldName) Creates an aggregation that collects all distinct values of a field across multiple stage inputs into an array.final AggregateFunctionExpression.arrayAggDistinct()Creates an aggregation that collects all distinct values of this expression across multiple stage inputs into an array.static AggregateFunctionAggregateFunction.average(Expression expression) Creates an aggregation that calculates the average (mean) of values from an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that calculates the average (mean) of a field's values across multiple stage inputs.final AggregateFunctionExpression.average()Creates an aggregation that calculates the average (mean) of this numeric expression across multiple stage inputs.static AggregateFunctionAggregateFunction.count(Expression expression) Creates an aggregation that counts the number of stage inputs with valid evaluations of the providedexpression.static AggregateFunctionCreates an aggregation that counts the number of stage inputs where the input field exists.final AggregateFunctionExpression.count()Creates an aggregation that counts the number of stage inputs with valid evaluations of the this expression.static AggregateFunctionAggregateFunction.countAll()Creates an aggregation that counts the total number of stage inputs.static AggregateFunctionAggregateFunction.countDistinct(Expression expression) Creates an aggregation that counts the number of distinct values of an expression across multiple stage inputs.static AggregateFunctionAggregateFunction.countDistinct(String fieldName) Creates an aggregation that counts the number of distinct values of a field across multiple stage inputs.final AggregateFunctionExpression.countDistinct()Creates an aggregation that counts the number of distinct values of this expression.static AggregateFunctionAggregateFunction.countIf(BooleanExpression condition) Creates an aggregation that counts the number of stage inputs where the provided boolean expression evaluates to true.BooleanExpression.countIf()Creates an aggregation that counts the number of stage inputs where the this boolean expression evaluates to true.static AggregateFunctionAggregateFunction.first(Expression expression) Creates an aggregation that finds the first value of an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that finds the first value of a field across multiple stage inputs.final AggregateFunctionExpression.first()Creates an aggregation that finds the first value of this expression across multiple stage inputs.AliasedAggregate.getExpr()static AggregateFunctionAggregateFunction.last(Expression expression) Creates an aggregation that finds the last value of an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that finds the last value of a field across multiple stage inputs.final AggregateFunctionExpression.last()Creates an aggregation that finds the last value of this expression across multiple stage inputs.static AggregateFunctionAggregateFunction.maximum(Expression expression) Creates an aggregation that finds the maximum value of an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that finds the maximum value of a field across multiple stage inputs.final AggregateFunctionExpression.maximum()Creates an aggregation that finds the maximum value of this expression across multiple stage inputs.static AggregateFunctionAggregateFunction.minimum(Expression expression) Creates an aggregation that finds the minimum value of an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that finds the minimum value of a field across multiple stage inputs.final AggregateFunctionExpression.minimum()Creates an aggregation that finds the minimum value of this expression across multiple stage inputs.static AggregateFunctionAggregateFunction.rawAggregate(String name, Expression... expr) Creates a raw aggregation function.static AggregateFunctionAggregateFunction.sum(Expression expression) Creates an aggregation that calculates the sum of values from an expression across multiple stage inputs.static AggregateFunctionCreates an aggregation that calculates the sum of a field's values across multiple stage inputs.final AggregateFunctionExpression.sum()Creates an aggregation that calculates the sum of this numeric expression across multiple stage inputs.Methods in com.google.cloud.firestore.pipeline.expressions with parameters of type AggregateFunctionModifier and TypeMethodDescriptionstatic ValueFunctionUtils.aggregateFunctionToValue(AggregateFunction expr)