Class SumAggregation (2.18.5)

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
NameDescription
aliasString
propertyReferenceString

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