Class AverageAggregationResult

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class AverageAggregationResult
    extends AggregationResult
    This is an aggregated result holding the average of all results.
    Author:
    baldersheim, Simon Thoresen Hult
    See Also:
    Serialized Form
    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • AverageAggregationResult

        public AverageAggregationResult()
        Constructs an empty result node. NOTE: This instance is broken until non-optional member data is set.
      • AverageAggregationResult

        public AverageAggregationResult​(NumericResultNode sum,
                                        long count)
        Constructs an instance of this class with given sum and count values.
        Parameters:
        sum - The initial sum to set.
        count - The initial number of results.