presto-main/src/main/java/io/prestosql/operator/aggregation/histogram/SingleTypedHistogram.java/SingleTypedHistogram/readAllValues
class SingleTypedHistogram:    @Override
    public void readAllValues(HistogramValueReader reader)
    {
        for (int i = 0; i < values.getPositionCount(); i++) {
            long count = counts.get(i);
            if (count > 0) {
                reader.read(values, i, count);
            }
        }
    }