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

Function _arrow_ExecNode_Fetch

r/src/arrowExports.cpp:1209–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207#if defined(ARROW_R_WITH_ACERO)
1208std::shared_ptr<acero::ExecNode> ExecNode_Fetch(const std::shared_ptr<acero::ExecNode>& input, int64_t offset, int64_t limit);
1209extern "C" SEXP _arrow_ExecNode_Fetch(SEXP input_sexp, SEXP offset_sexp, SEXP limit_sexp){
1210BEGIN_CPP11
1211 arrow::r::Input<const std::shared_ptr<acero::ExecNode>&>::type input(input_sexp);
1212 arrow::r::Input<int64_t>::type offset(offset_sexp);
1213 arrow::r::Input<int64_t>::type limit(limit_sexp);
1214 return cpp11::as_sexp(ExecNode_Fetch(input, offset, limit));
1215END_CPP11
1216}
1217#else
1218extern "C" SEXP _arrow_ExecNode_Fetch(SEXP input_sexp, SEXP offset_sexp, SEXP limit_sexp){
1219 Rf_error("Cannot call ExecNode_Fetch(). 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_FetchFunction · 0.85

Tested by

no test coverage detected