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

Method SerializeToString

cpp/src/parquet/metadata.cc:1293–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1291}
1292
1293std::string FileMetaData::SerializeToString() const {
1294 // We need to pass in an initial size. Since it will automatically
1295 // increase the buffer size to hold the metadata, we just leave it 0.
1296 PARQUET_ASSIGN_OR_THROW(auto serializer, ::arrow::io::BufferOutputStream::Create(0));
1297 WriteTo(serializer.get());
1298 PARQUET_ASSIGN_OR_THROW(auto metadata_buffer, serializer->Finish());
1299 return metadata_buffer->ToString();
1300}
1301
1302ApplicationVersion::ApplicationVersion(std::string application, int major, int minor,
1303 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