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

Function _arrow_parquet___arrow___ParquetFileWriter__Open

r/src/arrowExports.cpp:4663–4671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4661#if defined(ARROW_R_WITH_PARQUET)
4662std::shared_ptr<parquet::arrow::FileWriter> parquet___arrow___ParquetFileWriter__Open(const std::shared_ptr<arrow::Schema>& schema, const std::shared_ptr<arrow::io::OutputStream>& sink, const std::shared_ptr<parquet::WriterProperties>& properties, const std::shared_ptr<parquet::ArrowWriterProperties>& arrow_properties);
4663extern "C" SEXP _arrow_parquet___arrow___ParquetFileWriter__Open(SEXP schema_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4664BEGIN_CPP11
4665 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp);
4666 arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type sink(sink_sexp);
4667 arrow::r::Input<const std::shared_ptr<parquet::WriterProperties>&>::type properties(properties_sexp);
4668 arrow::r::Input<const std::shared_ptr<parquet::ArrowWriterProperties>&>::type arrow_properties(arrow_properties_sexp);
4669 return cpp11::as_sexp(parquet___arrow___ParquetFileWriter__Open(schema, sink, properties, arrow_properties));
4670END_CPP11
4671}
4672#else
4673extern "C" SEXP _arrow_parquet___arrow___ParquetFileWriter__Open(SEXP schema_sexp, SEXP sink_sexp, SEXP properties_sexp, SEXP arrow_properties_sexp){
4674 Rf_error("Cannot call parquet___arrow___ParquetFileWriter__Open(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected