Class AvgAggregation.Builder (2.21.3)

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

build()

public AvgAggregation build()
Returns
Type Description
AvgAggregation

propertyReference(String propertyReference)

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