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

Method CsvFileWriter

cpp/src/arrow/dataset/file_csv.cc:510–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510CsvFileWriter::CsvFileWriter(std::shared_ptr<io::OutputStream> destination,
511 std::shared_ptr<ipc::RecordBatchWriter> writer,
512 std::shared_ptr<Schema> schema,
513 std::shared_ptr<CsvFileWriteOptions> options,
514 fs::FileLocator destination_locator)
515 : FileWriter(std::move(schema), std::move(options), std::move(destination),
516 std::move(destination_locator)),
517 batch_writer_(std::move(writer)) {}
518
519Status CsvFileWriter::Write(const std::shared_ptr<RecordBatch>& batch) {
520 return batch_writer_->WriteRecordBatch(*batch);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected