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

Method SerializeToString

cpp/src/parquet/metadata.cc:1263–1270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1261}
1262
1263std::string FileMetaData::SerializeToString() const {
1264 // We need to pass in an initial size. Since it will automatically
1265 // increase the buffer size to hold the metadata, we just leave it 0.
1266 PARQUET_ASSIGN_OR_THROW(auto serializer, ::arrow::io::BufferOutputStream::Create(0));
1267 WriteTo(serializer.get());
1268 PARQUET_ASSIGN_OR_THROW(auto metadata_buffer, serializer->Finish());
1269 return metadata_buffer->ToString();
1270}
1271
1272ApplicationVersion::ApplicationVersion(std::string application, int major, int minor,
1273 int patch)

Callers 2

SerializeUnencryptedMethod · 0.45
TESTFunction · 0.45

Calls 2

getMethod · 0.45
ToStringMethod · 0.45

Tested by 1

TESTFunction · 0.36