| 714 | private: |
| 715 | template <class T> |
| 716 | void SerializeObject(const T* obj) { |
| 717 | try { |
| 718 | mem_buffer_->resetBuffer(); |
| 719 | obj->write(protocol_.get()); |
| 720 | } catch (std::exception& e) { |
| 721 | std::stringstream ss; |
| 722 | ss << "Couldn't serialize thrift: " << e.what() << "\n"; |
| 723 | throw ParquetException(ss.str()); |
| 724 | } |
| 725 | } |
| 726 | |
| 727 | int64_t SerializeEncryptedObj(ArrowOutputStream* out, |
| 728 | std::span<const uint8_t> serialized, |
nothing calls this directly
no test coverage detected