Class AverageAggregationResult

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
All Implemented Interfaces:
Serializable, Cloneable

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

    • classId

      public static final int classId
  • Constructor Details

    • 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.
  • Method Details