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

Function _arrow_Array__GetScalar

r/src/arrowExports.cpp:5206–5212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5204// scalar.cpp
5205std::shared_ptr<arrow::Scalar> Array__GetScalar(const std::shared_ptr<arrow::Array>& x, int64_t i);
5206extern "C" SEXP _arrow_Array__GetScalar(SEXP x_sexp, SEXP i_sexp){
5207BEGIN_CPP11
5208 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
5209 arrow::r::Input<int64_t>::type i(i_sexp);
5210 return cpp11::as_sexp(Array__GetScalar(x, i));
5211END_CPP11
5212}
5213// scalar.cpp
5214std::string Scalar__ToString(const std::shared_ptr<arrow::Scalar>& s);
5215extern "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