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

Function _arrow_dataset___Scanner__TakeRows

r/src/arrowExports.cpp:2394–2400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2392#if defined(ARROW_R_WITH_DATASET)
2393std::shared_ptr<arrow::Table> dataset___Scanner__TakeRows(const std::shared_ptr<ds::Scanner>& scanner, const std::shared_ptr<arrow::Array>& indices);
2394extern "C" SEXP _arrow_dataset___Scanner__TakeRows(SEXP scanner_sexp, SEXP indices_sexp){
2395BEGIN_CPP11
2396 arrow::r::Input<const std::shared_ptr<ds::Scanner>&>::type scanner(scanner_sexp);
2397 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type indices(indices_sexp);
2398 return cpp11::as_sexp(dataset___Scanner__TakeRows(scanner, indices));
2399END_CPP11
2400}
2401#else
2402extern "C" SEXP _arrow_dataset___Scanner__TakeRows(SEXP scanner_sexp, SEXP indices_sexp){
2403 Rf_error("Cannot call dataset___Scanner__TakeRows(). 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