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

Function _arrow_StructArray__GetFieldByName

r/src/arrowExports.cpp:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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){
245BEGIN_CPP11
246 arrow::r::Input<const std::shared_ptr<arrow::StructArray>&>::type array(array_sexp);
247 arrow::r::Input<const std::string&>::type name(name_sexp);
248 return cpp11::as_sexp(StructArray__GetFieldByName(array, name));
249END_CPP11
250}
251// array.cpp
252std::shared_ptr<arrow::StructArray> StructArray__from_RecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch);
253extern "C" SEXP _arrow_StructArray__from_RecordBatch(SEXP batch_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected