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

Function _arrow_csv___WriteCSV__RecordBatch

r/src/arrowExports.cpp:1538–1546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1536// csv.cpp
1537void csv___WriteCSV__RecordBatch(const std::shared_ptr<arrow::RecordBatch>& record_batch, const std::shared_ptr<arrow::csv::WriteOptions>& write_options, const std::shared_ptr<arrow::io::OutputStream>& stream);
1538extern "C" SEXP _arrow_csv___WriteCSV__RecordBatch(SEXP record_batch_sexp, SEXP write_options_sexp, SEXP stream_sexp){
1539BEGIN_CPP11
1540 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type record_batch(record_batch_sexp);
1541 arrow::r::Input<const std::shared_ptr<arrow::csv::WriteOptions>&>::type write_options(write_options_sexp);
1542 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type stream(stream_sexp);
1543 csv___WriteCSV__RecordBatch(record_batch, write_options, stream);
1544 return R_NilValue;
1545END_CPP11
1546}
1547// csv.cpp
1548void csv___WriteCSV__RecordBatchReader(const std::shared_ptr<arrow::RecordBatchReader>& reader, const std::shared_ptr<arrow::csv::WriteOptions>& write_options, const std::shared_ptr<arrow::io::OutputStream>& stream);
1549extern "C" SEXP _arrow_csv___WriteCSV__RecordBatchReader(SEXP reader_sexp, SEXP write_options_sexp, SEXP stream_sexp){

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected