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

Function _arrow_csv___WriteCSV__Table

r/src/arrowExports.cpp:1518–1526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516// csv.cpp
1517void csv___WriteCSV__Table(const std::shared_ptr<arrow::Table>& table, const std::shared_ptr<arrow::csv::WriteOptions>& write_options, const std::shared_ptr<arrow::io::OutputStream>& stream);
1518extern "C" SEXP _arrow_csv___WriteCSV__Table(SEXP table_sexp, SEXP write_options_sexp, SEXP stream_sexp){
1519BEGIN_CPP11
1520 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
1521 arrow::r::Input<const std::shared_ptr<arrow::csv::WriteOptions>&>::type write_options(write_options_sexp);
1522 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type stream(stream_sexp);
1523 csv___WriteCSV__Table(table, write_options, stream);
1524 return R_NilValue;
1525END_CPP11
1526}
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){

Callers

nothing calls this directly

Calls 1

csv___WriteCSV__TableFunction · 0.85

Tested by

no test coverage detected