@@ -233,6 +233,17 @@ BEGIN_RCPP
233233 return rcpp_result_gen;
234234END_RCPP
235235}
236+ // RecordBatch_schema
237+ std::shared_ptr<arrow::Schema> RecordBatch_schema (const std::shared_ptr<arrow::RecordBatch>& x);
238+ RcppExport SEXP _arrow_RecordBatch_schema (SEXP xSEXP) {
239+ BEGIN_RCPP
240+ Rcpp::RObject rcpp_result_gen;
241+ Rcpp::RNGScope rcpp_rngScope_gen;
242+ Rcpp::traits::input_parameter< const std::shared_ptr<arrow::RecordBatch>& >::type x (xSEXP);
243+ rcpp_result_gen = Rcpp::wrap (RecordBatch_schema (x));
244+ return rcpp_result_gen;
245+ END_RCPP
246+ }
236247// Field_initialize
237248std::shared_ptr<arrow::Field> Field_initialize (const std::string& name, const std::shared_ptr<arrow::DataType>& type, bool nullable);
238249RcppExport SEXP _arrow_Field_initialize (SEXP nameSEXP, SEXP typeSEXP, SEXP nullableSEXP) {
@@ -1538,6 +1549,7 @@ static const R_CallMethodDef CallEntries[] = {
15381549 {" _arrow_dataframe_to_RecordBatch" , (DL_FUNC) &_arrow_dataframe_to_RecordBatch, 1 },
15391550 {" _arrow_RecordBatch_num_columns" , (DL_FUNC) &_arrow_RecordBatch_num_columns, 1 },
15401551 {" _arrow_RecordBatch_num_rows" , (DL_FUNC) &_arrow_RecordBatch_num_rows, 1 },
1552+ {" _arrow_RecordBatch_schema" , (DL_FUNC) &_arrow_RecordBatch_schema, 1 },
15411553 {" _arrow_Field_initialize" , (DL_FUNC) &_arrow_Field_initialize, 3 },
15421554 {" _arrow_Field_ToString" , (DL_FUNC) &_arrow_Field_ToString, 1 },
15431555 {" _arrow_Field_name" , (DL_FUNC) &_arrow_Field_name, 1 },
0 commit comments