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

Function _arrow_RecordBatch__SetColumn

r/src/arrowExports.cpp:4860–4868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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