Class SumAggregation
- java.lang.Object
-
- com.google.cloud.datastore.aggregation.Aggregation
-
- com.google.cloud.datastore.aggregation.SumAggregation
-
public class SumAggregation extends Aggregation
Represents anAggregation
which returns sum of numerical values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SumAggregation.Builder
A 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 boolean
equals(Object o)
int
hashCode()
AggregationQuery.Aggregation
toPb()
-
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:
toPb
in classAggregation
-
-