Class AvgAggregation
- java.lang.Object
-
- com.google.cloud.datastore.aggregation.Aggregation
-
- com.google.cloud.datastore.aggregation.AvgAggregation
-
public class AvgAggregation extends Aggregation
Represents anAggregationwhich returns average of numerical values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAvgAggregation.BuilderA builder class to create and customize aAvgAggregation.
-
Constructor Summary
Constructors Constructor Description AvgAggregation(String alias, String propertyReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()AggregationQuery.AggregationtoPb()-
Methods inherited from class com.google.cloud.datastore.aggregation.Aggregation
aggregationBuilder, avg, count, getAlias, sum
-
-
-
-
Method Detail
-
toPb
@InternalApi public AggregationQuery.Aggregation toPb()
- Specified by:
toPbin classAggregation
-
-