Class AvgAggregation.Builder (2.19.0)

public static class AvgAggregation.Builder implements AggregationBuilder<AvgAggregation>

A builder class to create and customize a AvgAggregation.

Inheritance

java.lang.Object > AvgAggregation.Builder

Implements

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

Constructors

Builder()

public Builder()

Methods

as(String alias)

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

build()

public AvgAggregation build()
Returns
TypeDescription
AvgAggregation

propertyReference(String propertyReference)

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