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

Function _arrow_RecordBatch__column

r/src/arrowExports.cpp:4827–4833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4825// recordbatch.cpp
4826std::shared_ptr<arrow::Array> RecordBatch__column(const std::shared_ptr<arrow::RecordBatch>& batch, int i);
4827extern "C" SEXP _arrow_RecordBatch__column(SEXP batch_sexp, SEXP i_sexp){
4828BEGIN_CPP11
4829 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
4830 arrow::r::Input<int>::type i(i_sexp);
4831 return cpp11::as_sexp(RecordBatch__column(batch, i));
4832END_CPP11
4833}
4834// recordbatch.cpp
4835std::shared_ptr<arrow::Array> RecordBatch__GetColumnByName(const std::shared_ptr<arrow::RecordBatch>& batch, const std::string& name);
4836extern "C" SEXP _arrow_RecordBatch__GetColumnByName(SEXP batch_sexp, SEXP name_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
RecordBatch__columnFunction · 0.85

Tested by

no test coverage detected