| 346 | class FileSerializer : public ParquetFileWriter::Contents { |
| 347 | public: |
| 348 | static std::unique_ptr<ParquetFileWriter::Contents> Open( |
| 349 | std::shared_ptr<ArrowOutputStream> sink, std::shared_ptr<GroupNode> schema, |
| 350 | std::shared_ptr<WriterProperties> properties, |
| 351 | std::shared_ptr<const KeyValueMetadata> key_value_metadata) { |
| 352 | std::unique_ptr<ParquetFileWriter::Contents> result( |
| 353 | new FileSerializer(std::move(sink), std::move(schema), std::move(properties), |
| 354 | std::move(key_value_metadata))); |
| 355 | |
| 356 | return result; |
| 357 | } |
| 358 | |
| 359 | void Close() override { |
| 360 | if (is_open_) { |
nothing calls this directly
no outgoing calls
no test coverage detected