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

Method Make

cpp/src/parquet/arrow/writer.cc:552–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550FileWriter::~FileWriter() {}
551
552Status FileWriter::Make(::arrow::MemoryPool* pool,
553 std::unique_ptr<ParquetFileWriter> writer,
554 std::shared_ptr<::arrow::Schema> schema,
555 std::shared_ptr<ArrowWriterProperties> arrow_properties,
556 std::unique_ptr<FileWriter>* out) {
557 std::unique_ptr<FileWriterImpl> impl(new FileWriterImpl(
558 std::move(schema), pool, std::move(writer), std::move(arrow_properties)));
559 RETURN_NOT_OK(impl->Init());
560 *out = std::move(impl);
561 return Status::OK();
562}
563
564Result<std::unique_ptr<FileWriter>> FileWriter::Open(
565 const ::arrow::Schema& schema, ::arrow::MemoryPool* pool,

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
InitMethod · 0.45

Tested by

no test coverage detected