Class SumAggregation.Builder (2.18.5)

public static class SumAggregation.Builder implements AggregationBuilder<SumAggregation>

A builder class to create and customize a SumAggregation.

Inheritance

java.lang.Object > SumAggregation.Builder

Implements

com.google.cloud.datastore.aggregation.AggregationBuilder<com.google.cloud.datastore.aggregation.SumAggregation>

Constructors

Builder()

public Builder()

Methods

as(String alias)

public SumAggregation.Builder as(String alias)
Parameter
NameDescription
aliasString
Returns
TypeDescription
SumAggregation.Builder

build()

public SumAggregation build()
Returns
TypeDescription
SumAggregation

propertyReference(String propertyReference)

public SumAggregation.Builder propertyReference(String propertyReference)
Parameter
NameDescription
propertyReferenceString
Returns
TypeDescription
SumAggregation.Builder