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

Function _arrow_RecordBatch__AddColumn

r/src/arrowExports.cpp:4849–4857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4847// recordbatch.cpp
4848std::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);
4849extern "C" SEXP _arrow_RecordBatch__AddColumn(SEXP batch_sexp, SEXP i_sexp, SEXP field_sexp, SEXP column_sexp){
4850BEGIN_CPP11
4851 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
4852 arrow::r::Input<int>::type i(i_sexp);
4853 arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
4854 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type column(column_sexp);
4855 return cpp11::as_sexp(RecordBatch__AddColumn(batch, i, field, column));
4856END_CPP11
4857}
4858// recordbatch.cpp
4859std::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);
4860extern "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