Class Aggregation (2.13.2)

public abstract class Aggregation

Represents a Google Cloud Datastore Aggregation which is used with an AggregationQuery.

Inheritance

java.lang.Object > Aggregation

Static Methods

count()

public static CountAggregation.Builder count()

Returns a CountAggregation builder.

Returns
TypeDescription
CountAggregation.Builder

Constructors

Aggregation(String alias)

public Aggregation(String alias)
Parameter
NameDescription
aliasString

Methods

getAlias()

public String getAlias()

Returns the alias for this aggregation.

Returns
TypeDescription
String

toPb()

public abstract AggregationQuery.Aggregation toPb()
Returns
TypeDescription
AggregationQuery.Aggregation