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

Function _arrow_ExecNode_Scan

r/src/arrowExports.cpp:1070–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068#if defined(ARROW_R_WITH_DATASET)
1069std::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);
1070extern "C" SEXP _arrow_ExecNode_Scan(SEXP plan_sexp, SEXP dataset_sexp, SEXP filter_sexp, SEXP projection_sexp){
1071BEGIN_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));
1077END_CPP11
1078}
1079#else
1080extern "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. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
ExecNode_ScanFunction · 0.85

Tested by

no test coverage detected