Class CountAggregation.Builder (2.20.1)

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

build()

public CountAggregation build()
Returns
Type Description
CountAggregation