Class SumAggregation (2.25.1)

public class SumAggregation extends Aggregation

Represents an Aggregation which returns sum of numerical values.

Inheritance

Object > Aggregation > SumAggregation

Constructors

SumAggregation(String alias, String propertyReference)

public SumAggregation(String alias, String propertyReference)
Parameters
Name Description
alias String
propertyReference String

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