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

Function _arrow_dataset___FileSystemDatasetFactory__Make

r/src/arrowExports.cpp:1776–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1774#if defined(ARROW_R_WITH_DATASET)
1775std::shared_ptr<ds::FileSystemDatasetFactory> dataset___FileSystemDatasetFactory__Make(const std::shared_ptr<fs::FileSystem>& fs, const std::shared_ptr<fs::FileSelector>& selector, const std::shared_ptr<ds::FileFormat>& format, cpp11::list fsf_options);
1776extern "C" SEXP _arrow_dataset___FileSystemDatasetFactory__Make(SEXP fs_sexp, SEXP selector_sexp, SEXP format_sexp, SEXP fsf_options_sexp){
1777BEGIN_CPP11
1778 arrow::r::Input<const std::shared_ptr<fs::FileSystem>&>::type fs(fs_sexp);
1779 arrow::r::Input<const std::shared_ptr<fs::FileSelector>&>::type selector(selector_sexp);
1780 arrow::r::Input<const std::shared_ptr<ds::FileFormat>&>::type format(format_sexp);
1781 arrow::r::Input<cpp11::list>::type fsf_options(fsf_options_sexp);
1782 return cpp11::as_sexp(dataset___FileSystemDatasetFactory__Make(fs, selector, format, fsf_options));
1783END_CPP11
1784}
1785#else
1786extern "C" SEXP _arrow_dataset___FileSystemDatasetFactory__Make(SEXP fs_sexp, SEXP selector_sexp, SEXP format_sexp, SEXP fsf_options_sexp){
1787 Rf_error("Cannot call dataset___FileSystemDatasetFactory__Make(). 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