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

Function _arrow_parquet___arrow___FileReader__OpenFile

r/src/arrowExports.cpp:4321–4328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4319#if defined(ARROW_R_WITH_PARQUET)
4320std::shared_ptr<parquet::arrow::FileReader> parquet___arrow___FileReader__OpenFile(const std::shared_ptr<arrow::io::RandomAccessFile>& file, const std::shared_ptr<parquet::ArrowReaderProperties>& props, const std::shared_ptr<parquet::ReaderProperties>& reader_props);
4321extern "C" SEXP _arrow_parquet___arrow___FileReader__OpenFile(SEXP file_sexp, SEXP props_sexp, SEXP reader_props_sexp){
4322BEGIN_CPP11
4323 arrow::r::Input<const std::shared_ptr<arrow::io::RandomAccessFile>&>::type file(file_sexp);
4324 arrow::r::Input<const std::shared_ptr<parquet::ArrowReaderProperties>&>::type props(props_sexp);
4325 arrow::r::Input<const std::shared_ptr<parquet::ReaderProperties>&>::type reader_props(reader_props_sexp);
4326 return cpp11::as_sexp(parquet___arrow___FileReader__OpenFile(file, props, reader_props));
4327END_CPP11
4328}
4329#else
4330extern "C" SEXP _arrow_parquet___arrow___FileReader__OpenFile(SEXP file_sexp, SEXP props_sexp, SEXP reader_props_sexp){
4331 Rf_error("Cannot call parquet___arrow___FileReader__OpenFile(). 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