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

Function _arrow_parquet___arrow___WriteTable

r/src/arrowExports.cpp:4715–4724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4713#if defined(ARROW_R_WITH_PARQUET)
4714void 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);
4715extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4716BEGIN_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;
4723END_CPP11
4724}
4725#else
4726extern "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. ");

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected