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

Function _arrow_ExportArray

r/src/arrowExports.cpp:663–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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){
664BEGIN_CPP11
665 arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
666 arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp);
667 arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp);
668 ExportArray(array, array_ptr, schema_ptr);
669 return R_NilValue;
670END_CPP11
671}
672// bridge.cpp
673void ExportRecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr);
674extern "C" SEXP _arrow_ExportRecordBatch(SEXP batch_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){

Callers

nothing calls this directly

Calls 1

ExportArrayFunction · 0.70

Tested by

no test coverage detected