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

Method Open

cpp/src/parquet/file_writer.cc:348–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346class 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_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected