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

Function _arrow_Schema__GetFieldByName

r/src/arrowExports.cpp:5339–5345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5337// schema.cpp
5338std::shared_ptr<arrow::Field> Schema__GetFieldByName(const std::shared_ptr<arrow::Schema>& s, std::string x);
5339extern "C" SEXP _arrow_Schema__GetFieldByName(SEXP s_sexp, SEXP x_sexp){
5340BEGIN_CPP11
5341 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5342 arrow::r::Input<std::string>::type x(x_sexp);
5343 return cpp11::as_sexp(Schema__GetFieldByName(s, x));
5344END_CPP11
5345}
5346// schema.cpp
5347cpp11::list Schema__fields(const std::shared_ptr<arrow::Schema>& schema);
5348extern "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