presto-main/src/main/java/io/prestosql/operator/aggregation/histogram/HistogramStateSerializer.java/HistogramStateSerializer/serialize
class HistogramStateSerializer:    @Override
    public void serialize(HistogramState state, BlockBuilder out)
    {
        state.get().serialize(out);
    }