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

Function _arrow_parquet___arrow___WriteTable

r/src/arrowExports.cpp:4700–4709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4698#if defined(ARROW_R_WITH_PARQUET)
4699void 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);
4700extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4701BEGIN_CPP11
4702 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
4703 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type sink(sink_sexp);
4704 arrow::r::Input<const std::shared_ptr<parquet::WriterProperties>&>::type properties(properties_sexp);
4705 arrow::r::Input<const std::shared_ptr<parquet::ArrowWriterProperties>&>::type arrow_properties(arrow_properties_sexp);
4706 parquet___arrow___WriteTable(table, sink, properties, arrow_properties);
4707 return R_NilValue;
4708END_CPP11
4709}
4710#else
4711extern "C" SEXP _arrow_parquet___arrow___WriteTable(SEXP table_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4712 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