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

Function _arrow_Array__GetScalar

r/src/arrowExports.cpp:5148–5154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5146// scalar.cpp
5147std::shared_ptr<arrow::Scalar> Array__GetScalar(const std::shared_ptr<arrow::Array>& x, int64_t i);
5148extern "C" SEXP _arrow_Array__GetScalar(SEXP x_sexp, SEXP i_sexp){
5149BEGIN_CPP11
5150 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
5151 arrow::r::Input<int64_t>::type i(i_sexp);
5152 return cpp11::as_sexp(Array__GetScalar(x, i));
5153END_CPP11
5154}
5155// scalar.cpp
5156std::string Scalar__ToString(const std::shared_ptr<arrow::Scalar>& s);
5157extern "C" SEXP _arrow_Scalar__ToString(SEXP s_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Array__GetScalarFunction · 0.85

Tested by

no test coverage detected