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

Function _arrow_RecordBatch__GetColumnByName

r/src/arrowExports.cpp:4836–4842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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){
4837BEGIN_CPP11
4838 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
4839 arrow::r::Input<const std::string&>::type name(name_sexp);
4840 return cpp11::as_sexp(RecordBatch__GetColumnByName(batch, name));
4841END_CPP11
4842}
4843// recordbatch.cpp
4844std::shared_ptr<arrow::RecordBatch> RecordBatch__SelectColumns(const std::shared_ptr<arrow::RecordBatch>& batch, const std::vector<int>& indices);
4845extern "C" SEXP _arrow_RecordBatch__SelectColumns(SEXP batch_sexp, SEXP indices_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected