Class AggregationData.DistributionData

    • Constructor Detail

      • DistributionData

        DistributionData()
    • Method Detail

      • create

        @Deprecated
        public static AggregationData.DistributionData create​(double mean,
                                                              long count,
                                                              double min,
                                                              double max,
                                                              double sumOfSquaredDeviations,
                                                              java.util.List<java.lang.Long> bucketCounts,
                                                              java.util.List<Exemplar> exemplars)
        Deprecated.
        Creates a DistributionData.
        Parameters:
        mean - mean value.
        count - count value.
        min - min value.
        max - max value.
        sumOfSquaredDeviations - sum of squared deviations.
        bucketCounts - histogram bucket counts.
        exemplars - the exemplars associated with histogram buckets.
        Returns:
        a DistributionData.
        Since:
        0.16
      • create

        public static AggregationData.DistributionData create​(double mean,
                                                              long count,
                                                              double sumOfSquaredDeviations,
                                                              java.util.List<java.lang.Long> bucketCounts,
                                                              java.util.List<Exemplar> exemplars)
        Creates a DistributionData.
        Parameters:
        mean - mean value.
        count - count value.
        sumOfSquaredDeviations - sum of squared deviations.
        bucketCounts - histogram bucket counts.
        exemplars - the exemplars associated with histogram buckets.
        Returns:
        a DistributionData.
        Since:
        0.17
      • create

        @Deprecated
        public static AggregationData.DistributionData create​(double mean,
                                                              long count,
                                                              double min,
                                                              double max,
                                                              double sumOfSquaredDeviations,
                                                              java.util.List<java.lang.Long> bucketCounts)
        Deprecated.
        Creates a DistributionData.
        Parameters:
        mean - mean value.
        count - count value.
        min - min value.
        max - max value.
        sumOfSquaredDeviations - sum of squared deviations.
        bucketCounts - histogram bucket counts.
        Returns:
        a DistributionData.
        Since:
        0.8
      • create

        public static AggregationData.DistributionData create​(double mean,
                                                              long count,
                                                              double sumOfSquaredDeviations,
                                                              java.util.List<java.lang.Long> bucketCounts)
        Creates a DistributionData.
        Parameters:
        mean - mean value.
        count - count value.
        sumOfSquaredDeviations - sum of squared deviations.
        bucketCounts - histogram bucket counts.
        Returns:
        a DistributionData.
        Since:
        0.17
      • getMean

        public abstract double getMean()
        Returns the aggregated mean.
        Returns:
        the aggregated mean.
        Since:
        0.8
      • getCount

        public abstract long getCount()
        Returns the aggregated count.
        Returns:
        the aggregated count.
        Since:
        0.8
      • getMin

        @Deprecated
        public double getMin()
        Deprecated.
        since 0.17. Returns 0.
        Returns the minimum of the population values.
        Returns:
        the minimum of the population values.
        Since:
        0.8
      • getMax

        @Deprecated
        public double getMax()
        Deprecated.
        since 0.17. Returns 0.
        Returns the maximum of the population values.
        Returns:
        the maximum of the population values.
        Since:
        0.8
      • getSumOfSquaredDeviations

        public abstract double getSumOfSquaredDeviations()
        Returns the aggregated sum of squared deviations.
        Returns:
        the aggregated sum of squared deviations.
        Since:
        0.8
      • getBucketCounts

        public abstract java.util.List<java.lang.Long> getBucketCounts()
        Returns the aggregated bucket counts. The returned list is immutable, trying to update it will throw an UnsupportedOperationException.
        Returns:
        the aggregated bucket counts.
        Since:
        0.8
      • getExemplars

        public abstract java.util.List<Exemplar> getExemplars()
        Returns the Exemplars associated with histogram buckets.
        Returns:
        the Exemplars associated with histogram buckets.
        Since:
        0.16