presto-main/src/main/java/io/prestosql/operator/aggregation/histogram/HistogramStateFactory.java/HistogramStateFactory/createSingleState
class HistogramStateFactory:    @Override
    public HistogramState createSingleState()
    {
        return new SingleHistogramState(keyType, expectedEntriesCount);
    }