docs: public void reset(DataPoint dp) {
      this.timestamp = dp.timestamp();
      this.is_integer = dp.isInteger();
      if (is_integer) {
        this.value = dp.longValue();
      } else {
        this.value = Double.doubleToRawLongBits(dp.doubleValue());
      }
    }