@Override
    protected void onSerialize(Serializer buf) {
        super.onSerialize(buf);
        buf.putLong(null, count);
        buf.putDouble(null, sum);
        buf.putDouble(null, sumOfSquared);
    }
Constructor used for deserialization. Will be instantiated with a default sketch.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/StandardDeviationAggregationResult.java