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

Function _arrow_RecordBatch__SetColumn

r/src/arrowExports.cpp:4817–4825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4815// recordbatch.cpp
4816std::shared_ptr<arrow::RecordBatch> RecordBatch__SetColumn(const std::shared_ptr<arrow::RecordBatch>& batch, int i, const std::shared_ptr<arrow::Field>& field, const std::shared_ptr<arrow::Array>& column);
4817extern "C" SEXP _arrow_RecordBatch__SetColumn(SEXP batch_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
4818BEGIN_CPP11
4819 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
4820 arrow::r::Input<int>::type i(i_sexp);
4821 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
4822 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type column(column_sexp);
4823 return cpp11::as_sexp(RecordBatch__SetColumn(batch, i, field, column));
4824END_CPP11
4825}
4826// recordbatch.cpp
4827std::shared_ptr<arrow::RecordBatch> RecordBatch__RemoveColumn(const std::shared_ptr<arrow::RecordBatch>& batch, int i);
4828extern "C" SEXP _arrow_RecordBatch__RemoveColumn(SEXP batch_sexp, SEXP i_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
RecordBatch__SetColumnFunction · 0.85

Tested by

no test coverage detected