Class SumAggregation.Builder (2.19.1)

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
Name Description
alias String
Returns
Type Description
SumAggregation.Builder

build()

public SumAggregation build()
Returns
Type Description
SumAggregation

propertyReference(String propertyReference)

public SumAggregation.Builder propertyReference(String propertyReference)
Parameter
Name Description
propertyReference String
Returns
Type Description
SumAggregation.Builder