| 4713 | #if defined(ARROW_R_WITH_PARQUET) |
| 4714 | void parquet___arrow___WriteTable(const std::shared_ptr<arrow::Table>& table, const std::shared_ptr<arrow::io::OutputStream>& sink, const std::shared_ptr<parquet::WriterProperties>& properties, const std::shared_ptr<parquet::ArrowWriterProperties>& arrow_properties); |
| 4715 | extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){ |
| 4716 | BEGIN_CPP11 |
| 4717 | arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp); |
| 4718 | arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type sink(sink_sexp); |
| 4719 | arrow::r::Input<const std::shared_ptr<parquet::WriterProperties>&>::type properties(properties_sexp); |
| 4720 | arrow::r::Input<const std::shared_ptr<parquet::ArrowWriterProperties>&>::type arrow_properties(arrow_properties_sexp); |
| 4721 | parquet___arrow___WriteTable(table, sink, properties, arrow_properties); |
| 4722 | return R_NilValue; |
| 4723 | END_CPP11 |
| 4724 | } |
| 4725 | #else |
| 4726 | extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){ |
| 4727 | Rf_error("Cannot call parquet___arrow___WriteTable(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected