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

Method CSVWriterImpl

cpp/src/arrow/csv/writer.cc:569–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567 ipc::WriteStats stats() const override { return stats_; }
568
569 CSVWriterImpl(io::OutputStream* sink, std::shared_ptr<io::OutputStream> owned_sink,
570 std::shared_ptr<Schema> schema,
571 std::vector<std::unique_ptr<ColumnPopulator>> populators,
572 const WriteOptions& options)
573 : sink_(sink),
574 owned_sink_(std::move(owned_sink)),
575 column_populators_(std::move(populators)),
576 offsets_(0, 0, ::arrow::stl::allocator<char*>(options.io_context.pool())),
577 schema_(std::move(schema)),
578 options_(options) {}
579
580 private:
581 Status PrepareForContentsWrite() {

Callers

nothing calls this directly

Calls 1

poolMethod · 0.45

Tested by

no test coverage detected