Class CountAggregation (2.24.1)

public class CountAggregation extends Aggregation

Represents an Aggregation which returns count.

Inheritance

Object > Aggregation > CountAggregation

Constructors

CountAggregation(String alias)

public CountAggregation(String alias)
Parameter
Name Description
alias String

Alias to used when running this aggregation.

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toPb()

public AggregationQuery.Aggregation toPb()
Returns
Type Description
AggregationQuery.Aggregation
Overrides