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

Function _arrow_DictionaryArray__FromArrays

r/src/arrowExports.cpp:4767–4774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4765// r_to_arrow.cpp
4766std::shared_ptr<arrow::Array> DictionaryArray__FromArrays(const std::shared_ptr<arrow::DataType>& type, const std::shared_ptr<arrow::Array>& indices, const std::shared_ptr<arrow::Array>& dict);
4767extern "C" SEXP _arrow_DictionaryArray__FromArrays(SEXP type_sexp, SEXP indices_sexp, SEXP dict_sexp){
4768BEGIN_CPP11
4769 arrow::r::Input<const std::shared_ptr<arrow::DataType>&>::type type(type_sexp);
4770 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type indices(indices_sexp);
4771 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type dict(dict_sexp);
4772 return cpp11::as_sexp(DictionaryArray__FromArrays(type, indices, dict));
4773END_CPP11
4774}
4775// recordbatch.cpp
4776int RecordBatch__num_columns(const std::shared_ptr<arrow::RecordBatch>& x);
4777extern "C" SEXP _arrow_RecordBatch__num_columns(SEXP x_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected