Class AggregateDataAvg

java.lang.Object
org.h2.expression.aggregate.AggregateData
org.h2.expression.aggregate.AggregateDataAvg

final class AggregateDataAvg extends AggregateData
Data stored while calculating an AVG aggregate.
  • Field Details

    • dataType

      private final TypeInfo dataType
    • count

      private long count
    • doubleValue

      private double doubleValue
    • decimalValue

      private BigDecimal decimalValue
    • integerValue

      private BigInteger integerValue
  • Constructor Details

    • AggregateDataAvg

      AggregateDataAvg(TypeInfo dataType)
      Parameters:
      dataType - the data type of the computed result
  • Method Details