Class AvgAggregation (2.20.1)

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
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