Class Aggregation
java.lang.Object
com.google.cloud.datastore.aggregation.Aggregation
- Direct Known Subclasses:
AvgAggregation
,CountAggregation
,SumAggregation
Represents a Google Cloud Datastore Aggregation which is used with an
AggregationQuery
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AggregationQuery.Aggregation.Builder
static AvgAggregation.Builder
Returns aAvgAggregation
builder.static CountAggregation.Builder
count()
Returns aCountAggregation
builder.getAlias()
Returns the alias for this aggregation.static SumAggregation.Builder
Returns aSumAggregation
builder.abstract AggregationQuery.Aggregation
toPb()
-
Constructor Details
-
Aggregation
-
-
Method Details
-
getAlias
Returns the alias for this aggregation. -
toPb
-
aggregationBuilder
-
count
Returns aCountAggregation
builder. -
sum
Returns aSumAggregation
builder. -
avg
Returns aAvgAggregation
builder.
-