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

Function _arrow_csv___WriteCSV__RecordBatch

r/src/arrowExports.cpp:1529–1537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1527// csv.cpp
1528void 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);
1529extern "C" SEXP _arrow_csv___WriteCSV__RecordBatch(SEXP record_batch_sexp, SEXP write_options_sexp, SEXP stream_sexp){
1530BEGIN_CPP11
1531 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type record_batch(record_batch_sexp);
1532 arrow::r::Input<const std::shared_ptr<arrow::csv::WriteOptions>&>::type write_options(write_options_sexp);
1533 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type stream(stream_sexp);
1534 csv___WriteCSV__RecordBatch(record_batch, write_options, stream);
1535 return R_NilValue;
1536END_CPP11
1537}
1538// csv.cpp
1539void 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);
1540extern "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