@BetaApi public class CountAggregation extends Aggregation
Aggregation which returns count.| Modifier and Type | Class and Description |
|---|---|
static class |
CountAggregation.Builder
A builder class to create and customize a
CountAggregation. |
| Constructor and Description |
|---|
CountAggregation(String alias) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
AggregationQuery.Aggregation |
toPb() |
count, getAliaspublic CountAggregation(String alias)
alias - Alias to used when running this aggregation.public AggregationQuery.Aggregation toPb()
toPb in class AggregationCopyright © 2023 Google LLC. All rights reserved.