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

Function _arrow_parquet___arrow___WriteTable

r/src/arrowExports.cpp:4657–4666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4655#if defined(ARROW_R_WITH_PARQUET)
4656void 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);
4657extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4658BEGIN_CPP11
4659 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
4660 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type sink(sink_sexp);
4661 arrow::r::Input<const std::shared_ptr<parquet::WriterProperties>&>::type properties(properties_sexp);
4662 arrow::r::Input<const std::shared_ptr<parquet::ArrowWriterProperties>&>::type arrow_properties(arrow_properties_sexp);
4663 parquet___arrow___WriteTable(table, sink, properties, arrow_properties);
4664 return R_NilValue;
4665END_CPP11
4666}
4667#else
4668extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4669 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