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

Function _arrow_RecordBatch__cast

r/src/arrowExports.cpp:1319–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317// compute.cpp
1318std::shared_ptr<arrow::RecordBatch> RecordBatch__cast(const std::shared_ptr<arrow::RecordBatch>& batch, const std::shared_ptr<arrow::Schema>& schema, cpp11::list options);
1319extern "C" SEXP _arrow_RecordBatch__cast(SEXP batch_sexp, SEXP schema_sexp, SEXP options_sexp){
1320BEGIN_CPP11
1321 arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
1322 arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp);
1323 arrow::r::Input<cpp11::list>::type options(options_sexp);
1324 return cpp11::as_sexp(RecordBatch__cast(batch, schema, options));
1325END_CPP11
1326}
1327// compute.cpp
1328std::shared_ptr<arrow::Table> Table__cast(const std::shared_ptr<arrow::Table>& table, const std::shared_ptr<arrow::Schema>& schema, cpp11::list options);
1329extern "C" SEXP _arrow_Table__cast(SEXP table_sexp, SEXP schema_sexp, SEXP options_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
RecordBatch__castFunction · 0.85

Tested by

no test coverage detected