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

Function _arrow_StructScalar__field

r/src/arrowExports.cpp:5223–5229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5221// scalar.cpp
5222std::shared_ptr<arrow::Scalar> StructScalar__field(const std::shared_ptr<arrow::StructScalar>& s, int i);
5223extern "C" SEXP _arrow_StructScalar__field(SEXP s_sexp, SEXP i_sexp){
5224BEGIN_CPP11
5225 arrow::r::Input<const std::shared_ptr<arrow::StructScalar>&>::type s(s_sexp);
5226 arrow::r::Input<int>::type i(i_sexp);
5227 return cpp11::as_sexp(StructScalar__field(s, i));
5228END_CPP11
5229}
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){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
StructScalar__fieldFunction · 0.85

Tested by

no test coverage detected