Class AvgAggregation (2.17.6)

public class AvgAggregation extends Aggregation

Represents an Aggregation which returns average of numerical values.

Inheritance

Object > Aggregation > AvgAggregation

Constructors

AvgAggregation(String alias, String propertyReference)

public AvgAggregation(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