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

Method SerializeObject

cpp/src/parquet/thrift_internal.h:704–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702 private:
703 template <class T>
704 void SerializeObject(const T* obj) {
705 try {
706 mem_buffer_->resetBuffer();
707 obj->write(protocol_.get());
708 } catch (std::exception& e) {
709 std::stringstream ss;
710 ss << "Couldn't serialize thrift: " << e.what() << "\n";
711 throw ParquetException(ss.str());
712 }
713 }
714
715 int64_t SerializeEncryptedObj(ArrowOutputStream* out, const uint8_t* out_buffer,
716 uint32_t out_length, Encryptor* encryptor) {

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