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

Function _arrow_StructArray__field

r/src/arrowExports.cpp:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233// array.cpp
234std::shared_ptr<arrow::Array> StructArray__field(const std::shared_ptr<arrow::StructArray>& array, int i);
235extern "C" SEXP _arrow_StructArray__field(SEXP array_sexp, SEXP i_sexp){
236BEGIN_CPP11
237 arrow::r::Input<const std::shared_ptr<arrow::StructArray>&>::type array(array_sexp);
238 arrow::r::Input<int>::type i(i_sexp);
239 return cpp11::as_sexp(StructArray__field(array, i));
240END_CPP11
241}
242// array.cpp
243std::shared_ptr<arrow::Array> StructArray__GetFieldByName(const std::shared_ptr<arrow::StructArray>& array, const std::string& name);
244extern "C" SEXP _arrow_StructArray__GetFieldByName(SEXP array_sexp, SEXP name_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
StructArray__fieldFunction · 0.85

Tested by

no test coverage detected