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

Function _arrow_ExportRecordBatch

r/src/arrowExports.cpp:674–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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){
675BEGIN_CPP11
676 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
677 arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp);
678 arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp);
679 ExportRecordBatch(batch, array_ptr, schema_ptr);
680 return R_NilValue;
681END_CPP11
682}
683// bridge.cpp
684void ExportRecordBatchReader(const std::shared_ptr<arrow::RecordBatchReader>& reader, arrow::r::Pointer<struct ArrowArrayStream> stream_ptr);
685extern "C" SEXP _arrow_ExportRecordBatchReader(SEXP reader_sexp, SEXP stream_ptr_sexp){

Callers

nothing calls this directly

Calls 1

ExportRecordBatchFunction · 0.70

Tested by

no test coverage detected