| 242 | // array.cpp |
| 243 | std::shared_ptr<arrow::Array> StructArray__GetFieldByName(const std::shared_ptr<arrow::StructArray>& array, const std::string& name); |
| 244 | extern "C" SEXP _arrow_StructArray__GetFieldByName(SEXP array_sexp, SEXP name_sexp){ |
| 245 | BEGIN_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)); |
| 249 | END_CPP11 |
| 250 | } |
| 251 | // array.cpp |
| 252 | std::shared_ptr<arrow::StructArray> StructArray__from_RecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch); |
| 253 | extern "C" SEXP _arrow_StructArray__from_RecordBatch(SEXP batch_sexp){ |
nothing calls this directly
no test coverage detected