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

Function _arrow_Schema__SetField

r/src/arrowExports.cpp:5335–5342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5333// schema.cpp
5334std::shared_ptr<arrow::Schema> Schema__SetField(const std::shared_ptr<arrow::Schema>& s, int i, const std::shared_ptr<arrow::Field>& field);
5335extern "C" SEXP _arrow_Schema__SetField(SEXP s_sexp, SEXP i_sexp, SEXP field_sexp){
5336BEGIN_CPP11
5337 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type s(s_sexp);
5338 arrow::r::Input<int>::type i(i_sexp);
5339 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5340 return cpp11::as_sexp(Schema__SetField(s, i, field));
5341END_CPP11
5342}
5343// schema.cpp
5344std::shared_ptr<arrow::Schema> Schema__RemoveField(const std::shared_ptr<arrow::Schema>& s, int i);
5345extern "C" SEXP _arrow_Schema__RemoveField(SEXP s_sexp, SEXP i_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Schema__SetFieldFunction · 0.85

Tested by

no test coverage detected