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

Function _arrow_Schema__GetFieldByName

r/src/arrowExports.cpp:5354–5360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5352// schema.cpp
5353std::shared_ptr<arrow::Field> Schema__GetFieldByName(const std::shared_ptr<arrow::Schema>& s, std::string x);
5354extern "C" SEXP _arrow_Schema__GetFieldByName(SEXP s_sexp, SEXP x_sexp){
5355BEGIN_CPP11
5356 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5357 arrow::r::Input<std::string>::type x(x_sexp);
5358 return cpp11::as_sexp(Schema__GetFieldByName(s, x));
5359END_CPP11
5360}
5361// schema.cpp
5362cpp11::list Schema__fields(const std::shared_ptr<arrow::Schema>& schema);
5363extern "C" SEXP _arrow_Schema__fields(SEXP schema_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Schema__GetFieldByNameFunction · 0.85

Tested by

no test coverage detected