@@ -10,16 +10,6 @@ Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
1010Rcpp::Rostream<false >& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
1111#endif
1212
13- // test_sdf
14- void test_sdf (const std::string& uri);
15- RcppExport SEXP _tiledbsoma_test_sdf (SEXP uriSEXP) {
16- BEGIN_RCPP
17- Rcpp::RNGScope rcpp_rngScope_gen;
18- Rcpp::traits::input_parameter< const std::string& >::type uri (uriSEXP);
19- test_sdf (uri);
20- return R_NilValue;
21- END_RCPP
22- }
2313// get_column_names
2414std::vector<std::string> get_column_names (const std::string& uri);
2515RcppExport SEXP _tiledbsoma_get_column_names (SEXP uriSEXP) {
@@ -32,24 +22,49 @@ BEGIN_RCPP
3222END_RCPP
3323}
3424// export_column
35- bool export_column (const std::string& uri, const std::string& name , SEXP schemaxp, SEXP arrayxp);
36- RcppExport SEXP _tiledbsoma_export_column (SEXP uriSEXP, SEXP nameSEXP , SEXP schemaxpSEXP, SEXP arrayxpSEXP) {
25+ bool export_column (const std::string& uri, const std::string& colname , SEXP schemaxp, SEXP arrayxp);
26+ RcppExport SEXP _tiledbsoma_export_column (SEXP uriSEXP, SEXP colnameSEXP , SEXP schemaxpSEXP, SEXP arrayxpSEXP) {
3727BEGIN_RCPP
3828 Rcpp::RObject rcpp_result_gen;
3929 Rcpp::RNGScope rcpp_rngScope_gen;
4030 Rcpp::traits::input_parameter< const std::string& >::type uri (uriSEXP);
41- Rcpp::traits::input_parameter< const std::string& >::type name (nameSEXP );
31+ Rcpp::traits::input_parameter< const std::string& >::type colname (colnameSEXP );
4232 Rcpp::traits::input_parameter< SEXP >::type schemaxp (schemaxpSEXP);
4333 Rcpp::traits::input_parameter< SEXP >::type arrayxp (arrayxpSEXP);
44- rcpp_result_gen = Rcpp::wrap (export_column (uri, name, schemaxp, arrayxp));
34+ rcpp_result_gen = Rcpp::wrap (export_column (uri, colname, schemaxp, arrayxp));
35+ return rcpp_result_gen;
36+ END_RCPP
37+ }
38+ // export_column_direct
39+ SEXP export_column_direct (const std::string& uri, const std::vector<std::string>& colnames);
40+ RcppExport SEXP _tiledbsoma_export_column_direct (SEXP uriSEXP, SEXP colnamesSEXP) {
41+ BEGIN_RCPP
42+ Rcpp::RObject rcpp_result_gen;
43+ Rcpp::RNGScope rcpp_rngScope_gen;
44+ Rcpp::traits::input_parameter< const std::string& >::type uri (uriSEXP);
45+ Rcpp::traits::input_parameter< const std::vector<std::string>& >::type colnames (colnamesSEXP);
46+ rcpp_result_gen = Rcpp::wrap (export_column_direct (uri, colnames));
47+ return rcpp_result_gen;
48+ END_RCPP
49+ }
50+ // export_recordbatch
51+ SEXP export_recordbatch (const std::string& uri, const std::vector<std::string>& colnames);
52+ RcppExport SEXP _tiledbsoma_export_recordbatch (SEXP uriSEXP, SEXP colnamesSEXP) {
53+ BEGIN_RCPP
54+ Rcpp::RObject rcpp_result_gen;
55+ Rcpp::RNGScope rcpp_rngScope_gen;
56+ Rcpp::traits::input_parameter< const std::string& >::type uri (uriSEXP);
57+ Rcpp::traits::input_parameter< const std::vector<std::string>& >::type colnames (colnamesSEXP);
58+ rcpp_result_gen = Rcpp::wrap (export_recordbatch (uri, colnames));
4559 return rcpp_result_gen;
4660END_RCPP
4761}
4862
4963static const R_CallMethodDef CallEntries[] = {
50- {" _tiledbsoma_test_sdf" , (DL_FUNC) &_tiledbsoma_test_sdf, 1 },
5164 {" _tiledbsoma_get_column_names" , (DL_FUNC) &_tiledbsoma_get_column_names, 1 },
5265 {" _tiledbsoma_export_column" , (DL_FUNC) &_tiledbsoma_export_column, 4 },
66+ {" _tiledbsoma_export_column_direct" , (DL_FUNC) &_tiledbsoma_export_column_direct, 2 },
67+ {" _tiledbsoma_export_recordbatch" , (DL_FUNC) &_tiledbsoma_export_recordbatch, 2 },
5368 {NULL , NULL , 0 }
5469};
5570
0 commit comments