Class CountAggregation (2.14.4)

public class CountAggregation extends Aggregation

Represents an Aggregation which returns count.

Inheritance

Object > Aggregation > CountAggregation

Constructors

CountAggregation(String alias)

public CountAggregation(String alias)
Parameter
NameDescription
aliasString

Alias to used when running this aggregation.

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toPb()

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