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

Function _arrow_Table__SetColumn

r/src/arrowExports.cpp:5574–5582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5572// table.cpp
5573std::shared_ptr<arrow::Table> Table__SetColumn(const std::shared_ptr<arrow::Table>& table, int i, const std::shared_ptr<arrow::Field>& field, const std::shared_ptr<arrow::ChunkedArray>& column);
5574extern "C" SEXP _arrow_Table__SetColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
5575BEGIN_CPP11
5576 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5577 arrow::r::Input<int>::type i(i_sexp);
5578 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5579 arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type column(column_sexp);
5580 return cpp11::as_sexp(Table__SetColumn(table, i, field, column));
5581END_CPP11
5582}
5583// table.cpp
5584std::shared_ptr<arrow::Table> Table__SelectColumns(const std::shared_ptr<arrow::Table>& table, const std::vector<int>& indices);
5585extern "C" SEXP _arrow_Table__SelectColumns(SEXP table_sexp, SEXP indices_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Table__SetColumnFunction · 0.85

Tested by

no test coverage detected