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

Function _arrow_Table__SetColumn

r/src/arrowExports.cpp:5531–5539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5529// table.cpp
5530std::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);
5531extern "C" SEXP _arrow_Table__SetColumn(SEXP table_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
5532BEGIN_CPP11
5533 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5534 arrow::r::Input<int>::type i(i_sexp);
5535 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
5536 arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type column(column_sexp);
5537 return cpp11::as_sexp(Table__SetColumn(table, i, field, column));
5538END_CPP11
5539}
5540// table.cpp
5541std::shared_ptr<arrow::Table> Table__SelectColumns(const std::shared_ptr<arrow::Table>& table, const std::vector<int>& indices);
5542extern "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