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

Function _arrow_ExecNode_SourceNode

r/src/arrowExports.cpp:1242–1248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1240#if defined(ARROW_R_WITH_ACERO)
1241std::shared_ptr<acero::ExecNode> ExecNode_SourceNode(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<arrow::RecordBatchReader>& reader);
1242extern "C" SEXP _arrow_ExecNode_SourceNode(SEXP plan_sexp, SEXP reader_sexp){
1243BEGIN_CPP11
1244 arrow::r::Input<const std::shared_ptr<acero::ExecPlan>&>::type plan(plan_sexp);
1245 arrow::r::Input<const std::shared_ptr<arrow::RecordBatchReader>&>::type reader(reader_sexp);
1246 return cpp11::as_sexp(ExecNode_SourceNode(plan, reader));
1247END_CPP11
1248}
1249#else
1250extern "C" SEXP _arrow_ExecNode_SourceNode(SEXP plan_sexp, SEXP reader_sexp){
1251 Rf_error("Cannot call ExecNode_SourceNode(). 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_SourceNodeFunction · 0.85

Tested by

no test coverage detected