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

Function _arrow_ImportRecordBatch

r/src/arrowExports.cpp:592–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590// bridge.cpp
591std::shared_ptr<arrow::RecordBatch> ImportRecordBatch(arrow::r::Pointer<struct ArrowArray> array, arrow::r::Pointer<struct ArrowSchema> schema);
592extern "C" SEXP _arrow_ImportRecordBatch(SEXP array_sexp, SEXP schema_sexp){
593BEGIN_CPP11
594 arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array(array_sexp);
595 arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema(schema_sexp);
596 return cpp11::as_sexp(ImportRecordBatch(array, schema));
597END_CPP11
598}
599// bridge.cpp
600std::shared_ptr<arrow::Schema> ImportSchema(arrow::r::Pointer<struct ArrowSchema> schema);
601extern "C" SEXP _arrow_ImportSchema(SEXP schema_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
ImportRecordBatchFunction · 0.70

Tested by

no test coverage detected