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

Function _arrow_ExportSchema

r/src/arrowExports.cpp:653–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651// bridge.cpp
652void ExportSchema(const std::shared_ptr<arrow::Schema>& schema, arrow::r::Pointer<struct ArrowSchema> ptr);
653extern "C" SEXP _arrow_ExportSchema(SEXP schema_sexp, SEXP ptr_sexp){
654BEGIN_CPP11
655 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp);
656 arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type ptr(ptr_sexp);
657 ExportSchema(schema, ptr);
658 return R_NilValue;
659END_CPP11
660}
661// bridge.cpp
662void ExportArray(const std::shared_ptr<arrow::Array>& array, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr);
663extern "C" SEXP _arrow_ExportArray(SEXP array_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){

Callers

nothing calls this directly

Calls 1

ExportSchemaFunction · 0.70

Tested by

no test coverage detected