AggregateField.AverageAggregateField

class AggregateField.AverageAggregateField : AggregateField


Represents an "average" aggregation that can be performed by Firestore.

Summary

Inherited functions

From com.google.firebase.firestore.AggregateField
java-static AggregateField.AverageAggregateField
average(field: String)

Create an AverageAggregateField object that can be used to compute the average of a specified field over a range of documents in the result set of a query.

java-static AggregateField.AverageAggregateField
average(fieldPath: FieldPath)

Create an AverageAggregateField object that can be used to compute the average of a specified field over a range of documents in the result set of a query.

java-static AggregateField.CountAggregateField

Create a CountAggregateField object that can be used to compute the count of documents in the result set of a query.

Boolean
equals(other: Any!)

Returns true if the given object is equal to this object.

Int

Calculates and returns the hash code for this object.

java-static AggregateField.SumAggregateField
sum(field: String)

Create a SumAggregateField object that can be used to compute the sum of a specified field over a range of documents in the result set of a query.

java-static AggregateField.SumAggregateField
sum(fieldPath: FieldPath)

Create a SumAggregateField object that can be used to compute the sum of a specified field over a range of documents in the result set of a query.