data class DistributionData
This class represents the structure of a distribution according to the pipeline schema. It is meant to help serialize and deserialize data to the correct format for transport and storage, as well as including a helper function to calculate the bucket sizes.
values
 a map containing the bucket index mapped to the accumulated count
sum
 the accumulated sum of all the samples in the distribution
DistributionData(values: MutableMap<Long, Long>, sum: Long)
This class represents the structure of a distribution according to the pipeline schema. It is meant to help serialize and deserialize data to the correct format for transport and storage, as well as including a helper function to calculate the bucket sizes. 
val count: Long
The total count of accumulated values. 

var sum: Long
the accumulated sum of all the samples in the distribution 

val values: MutableMap<Long, Long>
a map containing the bucket index mapped to the accumulated count 