Calculates the average of a set of values.
Since
3/23/2024
Group Soql Engine
Author Zackary Frazier
Implements
Constructor for the AverageCalculator class
public AverageCalculator(AggregateCalculatorOptions options)
Name | Type | Description |
---|---|---|
options | AggregateCalculatorOptions |
Calculates the average of a set of values.
public ProtoAggregate calculate()
,[object Object]
Calculate the average for the field specified in the alias
field of options,
of the grouped records of the aggregateResult
field of options
public Object calculateForField()
Object
,[object Object]