Class CountAggregation.Builder (2.18.5)

public static class CountAggregation.Builder implements AggregationBuilder<CountAggregation>

A builder class to create and customize a CountAggregation.

Inheritance

java.lang.Object > CountAggregation.Builder

Implements

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

Constructors

Builder()

public Builder()

Methods

as(String alias)

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

build()

public CountAggregation build()
Returns
TypeDescription
CountAggregation