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

Function _arrow_Array__GetScalar

r/src/arrowExports.cpp:5191–5197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5189// scalar.cpp
5190std::shared_ptr<arrow::Scalar> Array__GetScalar(const std::shared_ptr<arrow::Array>& x, int64_t i);
5191extern "C" SEXP _arrow_Array__GetScalar(SEXP x_sexp, SEXP i_sexp){
5192BEGIN_CPP11
5193 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
5194 arrow::r::Input<int64_t>::type i(i_sexp);
5195 return cpp11::as_sexp(Array__GetScalar(x, i));
5196END_CPP11
5197}
5198// scalar.cpp
5199std::string Scalar__ToString(const std::shared_ptr<arrow::Scalar>& s);
5200extern "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