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

Method SerializeToString

cpp/src/parquet/metadata.cc:1267–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

SerializeUnencryptedMethod · 0.45
TESTFunction · 0.45
SerializeMetadataFunction · 0.45

Calls 2

getMethod · 0.45
ToStringMethod · 0.45

Tested by 2

TESTFunction · 0.36
SerializeMetadataFunction · 0.36