| 1317 | // compute.cpp |
| 1318 | std::shared_ptr<arrow::RecordBatch> RecordBatch__cast(const std::shared_ptr<arrow::RecordBatch>& batch, const std::shared_ptr<arrow::Schema>& schema, cpp11::list options); |
| 1319 | extern "C" SEXP _arrow_RecordBatch__cast(SEXP batch_sexp, SEXP schema_sexp, SEXP options_sexp){ |
| 1320 | BEGIN_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)); |
| 1325 | END_CPP11 |
| 1326 | } |
| 1327 | // compute.cpp |
| 1328 | std::shared_ptr<arrow::Table> Table__cast(const std::shared_ptr<arrow::Table>& table, const std::shared_ptr<arrow::Schema>& schema, cpp11::list options); |
| 1329 | extern "C" SEXP _arrow_Table__cast(SEXP table_sexp, SEXP schema_sexp, SEXP options_sexp){ |
nothing calls this directly
no test coverage detected