MCPcopy Create free account
hub / github.com/apache/arrow / SerializeObject

Method SerializeObject

cpp/src/parquet/thrift_internal.h:716–725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 5

ParquetExceptionFunction · 0.85
strMethod · 0.80
writeMethod · 0.45
getMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected