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

Function _arrow_StructScalar__GetFieldByName

r/src/arrowExports.cpp:5232–5238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5230// scalar.cpp
5231std::shared_ptr<arrow::Scalar> StructScalar__GetFieldByName(const std::shared_ptr<arrow::StructScalar>& s, const std::string& name);
5232extern "C" SEXP _arrow_StructScalar__GetFieldByName(SEXP s_sexp, SEXP name_sexp){
5233BEGIN_CPP11
5234 arrow::r::Input<const std::shared_ptr<arrow::StructScalar>&>::type s(s_sexp);
5235 arrow::r::Input<const std::string&>::type name(name_sexp);
5236 return cpp11::as_sexp(StructScalar__GetFieldByName(s, name));
5237END_CPP11
5238}
5239// scalar.cpp
5240std::shared_ptr<arrow::Array> MakeArrayFromScalar(const std::shared_ptr<arrow::Scalar>& scalar, int n);
5241extern "C" SEXP _arrow_MakeArrayFromScalar(SEXP scalar_sexp, SEXP n_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85

Tested by

no test coverage detected