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

Function _arrow_RecordBatch__AddColumn

r/src/arrowExports.cpp:4864–4872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4862// recordbatch.cpp
4863std::shared_ptr<arrow::RecordBatch> RecordBatch__AddColumn(const std::shared_ptr<arrow::RecordBatch>& batch, int i, const std::shared_ptr<arrow::Field>& field, const std::shared_ptr<arrow::Array>& column);
4864extern "C" SEXP _arrow_RecordBatch__AddColumn(SEXP batch_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
4865BEGIN_CPP11
4866 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
4867 arrow::r::Input<int>::type i(i_sexp);
4868 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
4869 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type column(column_sexp);
4870 return cpp11::as_sexp(RecordBatch__AddColumn(batch, i, field, column));
4871END_CPP11
4872}
4873// recordbatch.cpp
4874std::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);
4875extern "C" SEXP _arrow_RecordBatch__SetColumn(SEXP batch_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
RecordBatch__AddColumnFunction · 0.85

Tested by

no test coverage detected