| 1068 | #if defined(ARROW_R_WITH_DATASET) |
| 1069 | std::shared_ptr<acero::ExecNode> ExecNode_Scan(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<ds::Dataset>& dataset, const std::shared_ptr<compute::Expression>& filter, cpp11::list projection); |
| 1070 | extern "C" SEXP _arrow_ExecNode_Scan(SEXP plan_sexp, SEXP dataset_sexp, SEXP filter_sexp, SEXP projection_sexp){ |
| 1071 | BEGIN_CPP11 |
| 1072 | arrow::r::Input<const std::shared_ptr<acero::ExecPlan>&>::type plan(plan_sexp); |
| 1073 | arrow::r::Input<const std::shared_ptr<ds::Dataset>&>::type dataset(dataset_sexp); |
| 1074 | arrow::r::Input<const std::shared_ptr<compute::Expression>&>::type filter(filter_sexp); |
| 1075 | arrow::r::Input<cpp11::list>::type projection(projection_sexp); |
| 1076 | return cpp11::as_sexp(ExecNode_Scan(plan, dataset, filter, projection)); |
| 1077 | END_CPP11 |
| 1078 | } |
| 1079 | #else |
| 1080 | extern "C" SEXP _arrow_ExecNode_Scan(SEXP plan_sexp, SEXP dataset_sexp, SEXP filter_sexp, SEXP projection_sexp){ |
| 1081 | Rf_error("Cannot call ExecNode_Scan(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. "); |
nothing calls this directly
no test coverage detected