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

Function _arrow_Schema__GetFieldByName

r/src/arrowExports.cpp:5296–5302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5294// schema.cpp
5295std::shared_ptr<arrow::Field> Schema__GetFieldByName(const std::shared_ptr<arrow::Schema>& s, std::string x);
5296extern "C" SEXP _arrow_Schema__GetFieldByName(SEXP s_sexp, SEXP x_sexp){
5297BEGIN_CPP11
5298 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5299 arrow::r::Input<std::string>::type x(x_sexp);
5300 return cpp11::as_sexp(Schema__GetFieldByName(s, x));
5301END_CPP11
5302}
5303// schema.cpp
5304cpp11::list Schema__fields(const std::shared_ptr<arrow::Schema>& schema);
5305extern "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