Class Aggregation (2.14.0)

See more code actions.
public abstract class Aggregation

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

java.lang.Object > Aggregation

Static Methods

count()

public static CountAggregation.Builder count()

Returns a CountAggregation builder.

Returns

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