Class AvgAggregation.Builder (2.23.0)

publicstaticclass AvgAggregation.BuilderimplementsAggregationBuilder<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()

publicBuilder()

Methods

as(String alias)

publicAvgAggregation.Builderas(Stringalias)
Parameter
Name Description
alias String
Returns
Type Description
AvgAggregation.Builder

build()

publicAvgAggregationbuild()
Returns
Type Description
AvgAggregation

propertyReference(String propertyReference)

publicAvgAggregation.BuilderpropertyReference(StringpropertyReference)
Parameter
Name Description
propertyReference String
Returns
Type Description
AvgAggregation.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.