Class SumAggregation
- java.lang.Object
-
- com.google.cloud.datastore.aggregation.Aggregation
-
- com.google.cloud.datastore.aggregation.SumAggregation
-
public class SumAggregation extends Aggregation
Represents anAggregationwhich returns sum of numerical values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSumAggregation.BuilderA builder class to create and customize aSumAggregation.
-
Constructor Summary
Constructors Constructor Description SumAggregation(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
-
-