forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharrowExports.cpp
More file actions
6296 lines (6166 loc) · 316 KB
/
arrowExports.cpp
File metadata and controls
6296 lines (6166 loc) · 316 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Generated by using data-raw/codegen.R -> do not edit by hand
#include <cpp11.hpp>
#include <cpp11/declarations.hpp>
#include "./arrow_types.h"
// altrep.cpp
bool is_arrow_altrep(cpp11::sexp x);
extern "C" SEXP _arrow_is_arrow_altrep(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<cpp11::sexp>::type x(x_sexp);
return cpp11::as_sexp(is_arrow_altrep(x));
END_CPP11
}
// altrep.cpp
void test_arrow_altrep_set_string_elt(sexp x, int i, std::string value);
extern "C" SEXP _arrow_test_arrow_altrep_set_string_elt(SEXP x_sexp, SEXP i_sexp, SEXP value_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
arrow::r::Input<int>::type i(i_sexp);
arrow::r::Input<std::string>::type value(value_sexp);
test_arrow_altrep_set_string_elt(x, i, value);
return R_NilValue;
END_CPP11
}
// altrep.cpp
sexp test_arrow_altrep_is_materialized(sexp x);
extern "C" SEXP _arrow_test_arrow_altrep_is_materialized(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
return cpp11::as_sexp(test_arrow_altrep_is_materialized(x));
END_CPP11
}
// altrep.cpp
bool test_arrow_altrep_force_materialize(sexp x);
extern "C" SEXP _arrow_test_arrow_altrep_force_materialize(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
return cpp11::as_sexp(test_arrow_altrep_force_materialize(x));
END_CPP11
}
// altrep.cpp
sexp test_arrow_altrep_copy_by_element(sexp x);
extern "C" SEXP _arrow_test_arrow_altrep_copy_by_element(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
return cpp11::as_sexp(test_arrow_altrep_copy_by_element(x));
END_CPP11
}
// altrep.cpp
sexp test_arrow_altrep_copy_by_region(sexp x, R_xlen_t region_size);
extern "C" SEXP _arrow_test_arrow_altrep_copy_by_region(SEXP x_sexp, SEXP region_size_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
arrow::r::Input<R_xlen_t>::type region_size(region_size_sexp);
return cpp11::as_sexp(test_arrow_altrep_copy_by_region(x, region_size));
END_CPP11
}
// altrep.cpp
sexp test_arrow_altrep_copy_by_dataptr(sexp x);
extern "C" SEXP _arrow_test_arrow_altrep_copy_by_dataptr(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<sexp>::type x(x_sexp);
return cpp11::as_sexp(test_arrow_altrep_copy_by_dataptr(x));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> Array__Slice1(const std::shared_ptr<arrow::Array>& array, R_xlen_t offset);
extern "C" SEXP _arrow_Array__Slice1(SEXP array_sexp, SEXP offset_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
arrow::r::Input<R_xlen_t>::type offset(offset_sexp);
return cpp11::as_sexp(Array__Slice1(array, offset));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> Array__Slice2(const std::shared_ptr<arrow::Array>& array, R_xlen_t offset, R_xlen_t length);
extern "C" SEXP _arrow_Array__Slice2(SEXP array_sexp, SEXP offset_sexp, SEXP length_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
arrow::r::Input<R_xlen_t>::type offset(offset_sexp);
arrow::r::Input<R_xlen_t>::type length(length_sexp);
return cpp11::as_sexp(Array__Slice2(array, offset, length));
END_CPP11
}
// array.cpp
bool Array__IsNull(const std::shared_ptr<arrow::Array>& x, R_xlen_t i);
extern "C" SEXP _arrow_Array__IsNull(SEXP x_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
arrow::r::Input<R_xlen_t>::type i(i_sexp);
return cpp11::as_sexp(Array__IsNull(x, i));
END_CPP11
}
// array.cpp
bool Array__IsValid(const std::shared_ptr<arrow::Array>& x, R_xlen_t i);
extern "C" SEXP _arrow_Array__IsValid(SEXP x_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
arrow::r::Input<R_xlen_t>::type i(i_sexp);
return cpp11::as_sexp(Array__IsValid(x, i));
END_CPP11
}
// array.cpp
r_vec_size Array__length(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__length(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__length(x));
END_CPP11
}
// array.cpp
r_vec_size Array__offset(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__offset(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__offset(x));
END_CPP11
}
// array.cpp
r_vec_size Array__null_count(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__null_count(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__null_count(x));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::DataType> Array__type(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__type(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__type(x));
END_CPP11
}
// array.cpp
std::string Array__ToString(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__ToString(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__ToString(x));
END_CPP11
}
// array.cpp
arrow::Type::type Array__type_id(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__type_id(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__type_id(x));
END_CPP11
}
// array.cpp
bool Array__Equals(const std::shared_ptr<arrow::Array>& lhs, const std::shared_ptr<arrow::Array>& rhs);
extern "C" SEXP _arrow_Array__Equals(SEXP lhs_sexp, SEXP rhs_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type lhs(lhs_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type rhs(rhs_sexp);
return cpp11::as_sexp(Array__Equals(lhs, rhs));
END_CPP11
}
// array.cpp
bool Array__ApproxEquals(const std::shared_ptr<arrow::Array>& lhs, const std::shared_ptr<arrow::Array>& rhs);
extern "C" SEXP _arrow_Array__ApproxEquals(SEXP lhs_sexp, SEXP rhs_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type lhs(lhs_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type rhs(rhs_sexp);
return cpp11::as_sexp(Array__ApproxEquals(lhs, rhs));
END_CPP11
}
// array.cpp
std::string Array__Diff(const std::shared_ptr<arrow::Array>& lhs, const std::shared_ptr<arrow::Array>& rhs);
extern "C" SEXP _arrow_Array__Diff(SEXP lhs_sexp, SEXP rhs_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type lhs(lhs_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type rhs(rhs_sexp);
return cpp11::as_sexp(Array__Diff(lhs, rhs));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::ArrayData> Array__data(const std::shared_ptr<arrow::Array>& array);
extern "C" SEXP _arrow_Array__data(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
return cpp11::as_sexp(Array__data(array));
END_CPP11
}
// array.cpp
bool Array__RangeEquals(const std::shared_ptr<arrow::Array>& self, const std::shared_ptr<arrow::Array>& other, R_xlen_t start_idx, R_xlen_t end_idx, R_xlen_t other_start_idx);
extern "C" SEXP _arrow_Array__RangeEquals(SEXP self_sexp, SEXP other_sexp, SEXP start_idx_sexp, SEXP end_idx_sexp, SEXP other_start_idx_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type self(self_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type other(other_sexp);
arrow::r::Input<R_xlen_t>::type start_idx(start_idx_sexp);
arrow::r::Input<R_xlen_t>::type end_idx(end_idx_sexp);
arrow::r::Input<R_xlen_t>::type other_start_idx(other_start_idx_sexp);
return cpp11::as_sexp(Array__RangeEquals(self, other, start_idx, end_idx, other_start_idx));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> Array__View(const std::shared_ptr<arrow::Array>& array, const std::shared_ptr<arrow::DataType>& type);
extern "C" SEXP _arrow_Array__View(SEXP array_sexp, SEXP type_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
arrow::r::Input<const std::shared_ptr<arrow::DataType>&>::type type(type_sexp);
return cpp11::as_sexp(Array__View(array, type));
END_CPP11
}
// array.cpp
void Array__Validate(const std::shared_ptr<arrow::Array>& array);
extern "C" SEXP _arrow_Array__Validate(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
Array__Validate(array);
return R_NilValue;
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> DictionaryArray__indices(const std::shared_ptr<arrow::DictionaryArray>& array);
extern "C" SEXP _arrow_DictionaryArray__indices(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::DictionaryArray>&>::type array(array_sexp);
return cpp11::as_sexp(DictionaryArray__indices(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> DictionaryArray__dictionary(const std::shared_ptr<arrow::DictionaryArray>& array);
extern "C" SEXP _arrow_DictionaryArray__dictionary(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::DictionaryArray>&>::type array(array_sexp);
return cpp11::as_sexp(DictionaryArray__dictionary(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> StructArray__field(const std::shared_ptr<arrow::StructArray>& array, int i);
extern "C" SEXP _arrow_StructArray__field(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::StructArray>&>::type array(array_sexp);
arrow::r::Input<int>::type i(i_sexp);
return cpp11::as_sexp(StructArray__field(array, i));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> StructArray__GetFieldByName(const std::shared_ptr<arrow::StructArray>& array, const std::string& name);
extern "C" SEXP _arrow_StructArray__GetFieldByName(SEXP array_sexp, SEXP name_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::StructArray>&>::type array(array_sexp);
arrow::r::Input<const std::string&>::type name(name_sexp);
return cpp11::as_sexp(StructArray__GetFieldByName(array, name));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::StructArray> StructArray__from_RecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch);
extern "C" SEXP _arrow_StructArray__from_RecordBatch(SEXP batch_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
return cpp11::as_sexp(StructArray__from_RecordBatch(batch));
END_CPP11
}
// array.cpp
cpp11::list StructArray__Flatten(const std::shared_ptr<arrow::StructArray>& array);
extern "C" SEXP _arrow_StructArray__Flatten(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::StructArray>&>::type array(array_sexp);
return cpp11::as_sexp(StructArray__Flatten(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::DataType> ListArray__value_type(const std::shared_ptr<arrow::ListArray>& array);
extern "C" SEXP _arrow_ListArray__value_type(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ListArray>&>::type array(array_sexp);
return cpp11::as_sexp(ListArray__value_type(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::DataType> LargeListArray__value_type(const std::shared_ptr<arrow::LargeListArray>& array);
extern "C" SEXP _arrow_LargeListArray__value_type(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::LargeListArray>&>::type array(array_sexp);
return cpp11::as_sexp(LargeListArray__value_type(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> ListArray__values(const std::shared_ptr<arrow::ListArray>& array);
extern "C" SEXP _arrow_ListArray__values(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ListArray>&>::type array(array_sexp);
return cpp11::as_sexp(ListArray__values(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> LargeListArray__values(const std::shared_ptr<arrow::LargeListArray>& array);
extern "C" SEXP _arrow_LargeListArray__values(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::LargeListArray>&>::type array(array_sexp);
return cpp11::as_sexp(LargeListArray__values(array));
END_CPP11
}
// array.cpp
int32_t ListArray__value_length(const std::shared_ptr<arrow::ListArray>& array, int64_t i);
extern "C" SEXP _arrow_ListArray__value_length(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(ListArray__value_length(array, i));
END_CPP11
}
// array.cpp
r_vec_size LargeListArray__value_length(const std::shared_ptr<arrow::LargeListArray>& array, int64_t i);
extern "C" SEXP _arrow_LargeListArray__value_length(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::LargeListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(LargeListArray__value_length(array, i));
END_CPP11
}
// array.cpp
int FixedSizeListArray__value_length(const std::shared_ptr<arrow::FixedSizeListArray>& array, int64_t i);
extern "C" SEXP _arrow_FixedSizeListArray__value_length(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::FixedSizeListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(FixedSizeListArray__value_length(array, i));
END_CPP11
}
// array.cpp
int32_t ListArray__value_offset(const std::shared_ptr<arrow::ListArray>& array, int64_t i);
extern "C" SEXP _arrow_ListArray__value_offset(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(ListArray__value_offset(array, i));
END_CPP11
}
// array.cpp
r_vec_size LargeListArray__value_offset(const std::shared_ptr<arrow::LargeListArray>& array, int64_t i);
extern "C" SEXP _arrow_LargeListArray__value_offset(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::LargeListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(LargeListArray__value_offset(array, i));
END_CPP11
}
// array.cpp
r_vec_size FixedSizeListArray__value_offset(const std::shared_ptr<arrow::FixedSizeListArray>& array, int64_t i);
extern "C" SEXP _arrow_FixedSizeListArray__value_offset(SEXP array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::FixedSizeListArray>&>::type array(array_sexp);
arrow::r::Input<int64_t>::type i(i_sexp);
return cpp11::as_sexp(FixedSizeListArray__value_offset(array, i));
END_CPP11
}
// array.cpp
cpp11::writable::integers ListArray__raw_value_offsets(const std::shared_ptr<arrow::ListArray>& array);
extern "C" SEXP _arrow_ListArray__raw_value_offsets(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ListArray>&>::type array(array_sexp);
return cpp11::as_sexp(ListArray__raw_value_offsets(array));
END_CPP11
}
// array.cpp
cpp11::writable::doubles LargeListArray__raw_value_offsets(const std::shared_ptr<arrow::LargeListArray>& array);
extern "C" SEXP _arrow_LargeListArray__raw_value_offsets(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::LargeListArray>&>::type array(array_sexp);
return cpp11::as_sexp(LargeListArray__raw_value_offsets(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> MapArray__keys(const std::shared_ptr<arrow::MapArray>& array);
extern "C" SEXP _arrow_MapArray__keys(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::MapArray>&>::type array(array_sexp);
return cpp11::as_sexp(MapArray__keys(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> MapArray__items(const std::shared_ptr<arrow::MapArray>& array);
extern "C" SEXP _arrow_MapArray__items(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::MapArray>&>::type array(array_sexp);
return cpp11::as_sexp(MapArray__items(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> MapArray__keys_nested(const std::shared_ptr<arrow::MapArray>& array);
extern "C" SEXP _arrow_MapArray__keys_nested(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::MapArray>&>::type array(array_sexp);
return cpp11::as_sexp(MapArray__keys_nested(array));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> MapArray__items_nested(const std::shared_ptr<arrow::MapArray>& array);
extern "C" SEXP _arrow_MapArray__items_nested(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::MapArray>&>::type array(array_sexp);
return cpp11::as_sexp(MapArray__items_nested(array));
END_CPP11
}
// array.cpp
bool Array__Same(const std::shared_ptr<arrow::Array>& x, const std::shared_ptr<arrow::Array>& y);
extern "C" SEXP _arrow_Array__Same(SEXP x_sexp, SEXP y_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type y(y_sexp);
return cpp11::as_sexp(Array__Same(x, y));
END_CPP11
}
// array.cpp
r_vec_size Array__ReferencedBufferSize(const std::shared_ptr<arrow::Array>& x);
extern "C" SEXP _arrow_Array__ReferencedBufferSize(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type x(x_sexp);
return cpp11::as_sexp(Array__ReferencedBufferSize(x));
END_CPP11
}
// array.cpp
std::shared_ptr<arrow::Array> arrow__Concatenate(cpp11::list dots);
extern "C" SEXP _arrow_arrow__Concatenate(SEXP dots_sexp){
BEGIN_CPP11
arrow::r::Input<cpp11::list>::type dots(dots_sexp);
return cpp11::as_sexp(arrow__Concatenate(dots));
END_CPP11
}
// array_to_vector.cpp
SEXP Array__as_vector(const std::shared_ptr<arrow::Array>& array);
extern "C" SEXP _arrow_Array__as_vector(SEXP array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
return cpp11::as_sexp(Array__as_vector(array));
END_CPP11
}
// array_to_vector.cpp
SEXP ChunkedArray__as_vector(const std::shared_ptr<arrow::ChunkedArray>& chunked_array, bool use_threads);
extern "C" SEXP _arrow_ChunkedArray__as_vector(SEXP chunked_array_sexp, SEXP use_threads_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
arrow::r::Input<bool>::type use_threads(use_threads_sexp);
return cpp11::as_sexp(ChunkedArray__as_vector(chunked_array, use_threads));
END_CPP11
}
// array_to_vector.cpp
cpp11::writable::list RecordBatch__to_dataframe(const std::shared_ptr<arrow::RecordBatch>& batch, bool use_threads);
extern "C" SEXP _arrow_RecordBatch__to_dataframe(SEXP batch_sexp, SEXP use_threads_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
arrow::r::Input<bool>::type use_threads(use_threads_sexp);
return cpp11::as_sexp(RecordBatch__to_dataframe(batch, use_threads));
END_CPP11
}
// array_to_vector.cpp
cpp11::writable::list Table__to_dataframe(const std::shared_ptr<arrow::Table>& table, bool use_threads);
extern "C" SEXP _arrow_Table__to_dataframe(SEXP table_sexp, SEXP use_threads_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
arrow::r::Input<bool>::type use_threads(use_threads_sexp);
return cpp11::as_sexp(Table__to_dataframe(table, use_threads));
END_CPP11
}
// arraydata.cpp
std::shared_ptr<arrow::DataType> ArrayData__get_type(const std::shared_ptr<arrow::ArrayData>& x);
extern "C" SEXP _arrow_ArrayData__get_type(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ArrayData>&>::type x(x_sexp);
return cpp11::as_sexp(ArrayData__get_type(x));
END_CPP11
}
// arraydata.cpp
r_vec_size ArrayData__get_length(const std::shared_ptr<arrow::ArrayData>& x);
extern "C" SEXP _arrow_ArrayData__get_length(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ArrayData>&>::type x(x_sexp);
return cpp11::as_sexp(ArrayData__get_length(x));
END_CPP11
}
// arraydata.cpp
r_vec_size ArrayData__get_null_count(const std::shared_ptr<arrow::ArrayData>& x);
extern "C" SEXP _arrow_ArrayData__get_null_count(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ArrayData>&>::type x(x_sexp);
return cpp11::as_sexp(ArrayData__get_null_count(x));
END_CPP11
}
// arraydata.cpp
r_vec_size ArrayData__get_offset(const std::shared_ptr<arrow::ArrayData>& x);
extern "C" SEXP _arrow_ArrayData__get_offset(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ArrayData>&>::type x(x_sexp);
return cpp11::as_sexp(ArrayData__get_offset(x));
END_CPP11
}
// arraydata.cpp
cpp11::list ArrayData__buffers(const std::shared_ptr<arrow::ArrayData>& x);
extern "C" SEXP _arrow_ArrayData__buffers(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ArrayData>&>::type x(x_sexp);
return cpp11::as_sexp(ArrayData__buffers(x));
END_CPP11
}
// bridge.cpp
double external_pointer_addr_double(SEXP external_pointer);
extern "C" SEXP _arrow_external_pointer_addr_double(SEXP external_pointer_sexp){
BEGIN_CPP11
arrow::r::Input<SEXP>::type external_pointer(external_pointer_sexp);
return cpp11::as_sexp(external_pointer_addr_double(external_pointer));
END_CPP11
}
// bridge.cpp
std::string external_pointer_addr_character(SEXP external_pointer);
extern "C" SEXP _arrow_external_pointer_addr_character(SEXP external_pointer_sexp){
BEGIN_CPP11
arrow::r::Input<SEXP>::type external_pointer(external_pointer_sexp);
return cpp11::as_sexp(external_pointer_addr_character(external_pointer));
END_CPP11
}
// bridge.cpp
cpp11::doubles external_pointer_addr_integer64(SEXP external_pointer);
extern "C" SEXP _arrow_external_pointer_addr_integer64(SEXP external_pointer_sexp){
BEGIN_CPP11
arrow::r::Input<SEXP>::type external_pointer(external_pointer_sexp);
return cpp11::as_sexp(external_pointer_addr_integer64(external_pointer));
END_CPP11
}
// bridge.cpp
cpp11::raws external_pointer_addr_raw(SEXP external_pointer);
extern "C" SEXP _arrow_external_pointer_addr_raw(SEXP external_pointer_sexp){
BEGIN_CPP11
arrow::r::Input<SEXP>::type external_pointer(external_pointer_sexp);
return cpp11::as_sexp(external_pointer_addr_raw(external_pointer));
END_CPP11
}
// bridge.cpp
arrow::r::Pointer<struct ArrowSchema> allocate_arrow_schema();
extern "C" SEXP _arrow_allocate_arrow_schema(){
BEGIN_CPP11
return cpp11::as_sexp(allocate_arrow_schema());
END_CPP11
}
// bridge.cpp
void delete_arrow_schema(arrow::r::Pointer<struct ArrowSchema> ptr);
extern "C" SEXP _arrow_delete_arrow_schema(SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type ptr(ptr_sexp);
delete_arrow_schema(ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
arrow::r::Pointer<struct ArrowArray> allocate_arrow_array();
extern "C" SEXP _arrow_allocate_arrow_array(){
BEGIN_CPP11
return cpp11::as_sexp(allocate_arrow_array());
END_CPP11
}
// bridge.cpp
void delete_arrow_array(arrow::r::Pointer<struct ArrowArray> ptr);
extern "C" SEXP _arrow_delete_arrow_array(SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type ptr(ptr_sexp);
delete_arrow_array(ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
arrow::r::Pointer<struct ArrowArrayStream> allocate_arrow_array_stream();
extern "C" SEXP _arrow_allocate_arrow_array_stream(){
BEGIN_CPP11
return cpp11::as_sexp(allocate_arrow_array_stream());
END_CPP11
}
// bridge.cpp
void delete_arrow_array_stream(arrow::r::Pointer<struct ArrowArrayStream> ptr);
extern "C" SEXP _arrow_delete_arrow_array_stream(SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowArrayStream>>::type ptr(ptr_sexp);
delete_arrow_array_stream(ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::Array> ImportArray(arrow::r::Pointer<struct ArrowArray> array, arrow::r::Pointer<struct ArrowSchema> schema);
extern "C" SEXP _arrow_ImportArray(SEXP array_sexp, SEXP schema_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array(array_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema(schema_sexp);
return cpp11::as_sexp(ImportArray(array, schema));
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::RecordBatch> ImportRecordBatch(arrow::r::Pointer<struct ArrowArray> array, arrow::r::Pointer<struct ArrowSchema> schema);
extern "C" SEXP _arrow_ImportRecordBatch(SEXP array_sexp, SEXP schema_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array(array_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema(schema_sexp);
return cpp11::as_sexp(ImportRecordBatch(array, schema));
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::Schema> ImportSchema(arrow::r::Pointer<struct ArrowSchema> schema);
extern "C" SEXP _arrow_ImportSchema(SEXP schema_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema(schema_sexp);
return cpp11::as_sexp(ImportSchema(schema));
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::Field> ImportField(arrow::r::Pointer<struct ArrowSchema> field);
extern "C" SEXP _arrow_ImportField(SEXP field_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type field(field_sexp);
return cpp11::as_sexp(ImportField(field));
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::DataType> ImportType(arrow::r::Pointer<struct ArrowSchema> type);
extern "C" SEXP _arrow_ImportType(SEXP type_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type type(type_sexp);
return cpp11::as_sexp(ImportType(type));
END_CPP11
}
// bridge.cpp
std::shared_ptr<arrow::RecordBatchReader> ImportRecordBatchReader(arrow::r::Pointer<struct ArrowArrayStream> stream);
extern "C" SEXP _arrow_ImportRecordBatchReader(SEXP stream_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::r::Pointer<struct ArrowArrayStream>>::type stream(stream_sexp);
return cpp11::as_sexp(ImportRecordBatchReader(stream));
END_CPP11
}
// bridge.cpp
void ExportType(const std::shared_ptr<arrow::DataType>& type, arrow::r::Pointer<struct ArrowSchema> ptr);
extern "C" SEXP _arrow_ExportType(SEXP type_sexp, SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::DataType>&>::type type(type_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type ptr(ptr_sexp);
ExportType(type, ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
void ExportField(const std::shared_ptr<arrow::Field>& field, arrow::r::Pointer<struct ArrowSchema> ptr);
extern "C" SEXP _arrow_ExportField(SEXP field_sexp, SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Field>&>::type field(field_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type ptr(ptr_sexp);
ExportField(field, ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
void ExportSchema(const std::shared_ptr<arrow::Schema>& schema, arrow::r::Pointer<struct ArrowSchema> ptr);
extern "C" SEXP _arrow_ExportSchema(SEXP schema_sexp, SEXP ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Schema>&>::type schema(schema_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type ptr(ptr_sexp);
ExportSchema(schema, ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
void ExportArray(const std::shared_ptr<arrow::Array>& array, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr);
extern "C" SEXP _arrow_ExportArray(SEXP array_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp);
ExportArray(array, array_ptr, schema_ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
void ExportRecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr);
extern "C" SEXP _arrow_ExportRecordBatch(SEXP batch_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp);
ExportRecordBatch(batch, array_ptr, schema_ptr);
return R_NilValue;
END_CPP11
}
// bridge.cpp
void ExportRecordBatchReader(const std::shared_ptr<arrow::RecordBatchReader>& reader, arrow::r::Pointer<struct ArrowArrayStream> stream_ptr);
extern "C" SEXP _arrow_ExportRecordBatchReader(SEXP reader_sexp, SEXP stream_ptr_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatchReader>&>::type reader(reader_sexp);
arrow::r::Input<arrow::r::Pointer<struct ArrowArrayStream>>::type stream_ptr(stream_ptr_sexp);
ExportRecordBatchReader(reader, stream_ptr);
return R_NilValue;
END_CPP11
}
// buffer.cpp
bool Buffer__is_mutable(const std::shared_ptr<arrow::Buffer>& buffer);
extern "C" SEXP _arrow_Buffer__is_mutable(SEXP buffer_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type buffer(buffer_sexp);
return cpp11::as_sexp(Buffer__is_mutable(buffer));
END_CPP11
}
// buffer.cpp
void Buffer__ZeroPadding(const std::shared_ptr<arrow::Buffer>& buffer);
extern "C" SEXP _arrow_Buffer__ZeroPadding(SEXP buffer_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type buffer(buffer_sexp);
Buffer__ZeroPadding(buffer);
return R_NilValue;
END_CPP11
}
// buffer.cpp
r_vec_size Buffer__capacity(const std::shared_ptr<arrow::Buffer>& buffer);
extern "C" SEXP _arrow_Buffer__capacity(SEXP buffer_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type buffer(buffer_sexp);
return cpp11::as_sexp(Buffer__capacity(buffer));
END_CPP11
}
// buffer.cpp
r_vec_size Buffer__size(const std::shared_ptr<arrow::Buffer>& buffer);
extern "C" SEXP _arrow_Buffer__size(SEXP buffer_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type buffer(buffer_sexp);
return cpp11::as_sexp(Buffer__size(buffer));
END_CPP11
}
// buffer.cpp
std::shared_ptr<arrow::Buffer> r___RBuffer__initialize(SEXP x);
extern "C" SEXP _arrow_r___RBuffer__initialize(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<SEXP>::type x(x_sexp);
return cpp11::as_sexp(r___RBuffer__initialize(x));
END_CPP11
}
// buffer.cpp
cpp11::writable::raws Buffer__data(const std::shared_ptr<arrow::Buffer>& buffer);
extern "C" SEXP _arrow_Buffer__data(SEXP buffer_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type buffer(buffer_sexp);
return cpp11::as_sexp(Buffer__data(buffer));
END_CPP11
}
// buffer.cpp
bool Buffer__Equals(const std::shared_ptr<arrow::Buffer>& x, const std::shared_ptr<arrow::Buffer>& y);
extern "C" SEXP _arrow_Buffer__Equals(SEXP x_sexp, SEXP y_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type x(x_sexp);
arrow::r::Input<const std::shared_ptr<arrow::Buffer>&>::type y(y_sexp);
return cpp11::as_sexp(Buffer__Equals(x, y));
END_CPP11
}
// chunkedarray.cpp
r_vec_size ChunkedArray__length(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__length(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__length(chunked_array));
END_CPP11
}
// chunkedarray.cpp
r_vec_size ChunkedArray__null_count(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__null_count(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__null_count(chunked_array));
END_CPP11
}
// chunkedarray.cpp
int ChunkedArray__num_chunks(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__num_chunks(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__num_chunks(chunked_array));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::Array> ChunkedArray__chunk(const std::shared_ptr<arrow::ChunkedArray>& chunked_array, int i);
extern "C" SEXP _arrow_ChunkedArray__chunk(SEXP chunked_array_sexp, SEXP i_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
arrow::r::Input<int>::type i(i_sexp);
return cpp11::as_sexp(ChunkedArray__chunk(chunked_array, i));
END_CPP11
}
// chunkedarray.cpp
cpp11::list ChunkedArray__chunks(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__chunks(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__chunks(chunked_array));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::DataType> ChunkedArray__type(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__type(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__type(chunked_array));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::ChunkedArray> ChunkedArray__Slice1(const std::shared_ptr<arrow::ChunkedArray>& chunked_array, R_xlen_t offset);
extern "C" SEXP _arrow_ChunkedArray__Slice1(SEXP chunked_array_sexp, SEXP offset_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
arrow::r::Input<R_xlen_t>::type offset(offset_sexp);
return cpp11::as_sexp(ChunkedArray__Slice1(chunked_array, offset));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::ChunkedArray> ChunkedArray__Slice2(const std::shared_ptr<arrow::ChunkedArray>& chunked_array, R_xlen_t offset, R_xlen_t length);
extern "C" SEXP _arrow_ChunkedArray__Slice2(SEXP chunked_array_sexp, SEXP offset_sexp, SEXP length_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
arrow::r::Input<R_xlen_t>::type offset(offset_sexp);
arrow::r::Input<R_xlen_t>::type length(length_sexp);
return cpp11::as_sexp(ChunkedArray__Slice2(chunked_array, offset, length));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::ChunkedArray> ChunkedArray__View(const std::shared_ptr<arrow::ChunkedArray>& array, const std::shared_ptr<arrow::DataType>& type);
extern "C" SEXP _arrow_ChunkedArray__View(SEXP array_sexp, SEXP type_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type array(array_sexp);
arrow::r::Input<const std::shared_ptr<arrow::DataType>&>::type type(type_sexp);
return cpp11::as_sexp(ChunkedArray__View(array, type));
END_CPP11
}
// chunkedarray.cpp
void ChunkedArray__Validate(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__Validate(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
ChunkedArray__Validate(chunked_array);
return R_NilValue;
END_CPP11
}
// chunkedarray.cpp
bool ChunkedArray__Equals(const std::shared_ptr<arrow::ChunkedArray>& x, const std::shared_ptr<arrow::ChunkedArray>& y);
extern "C" SEXP _arrow_ChunkedArray__Equals(SEXP x_sexp, SEXP y_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type x(x_sexp);
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type y(y_sexp);
return cpp11::as_sexp(ChunkedArray__Equals(x, y));
END_CPP11
}
// chunkedarray.cpp
std::string ChunkedArray__ToString(const std::shared_ptr<arrow::ChunkedArray>& x);
extern "C" SEXP _arrow_ChunkedArray__ToString(SEXP x_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type x(x_sexp);
return cpp11::as_sexp(ChunkedArray__ToString(x));
END_CPP11
}
// chunkedarray.cpp
std::shared_ptr<arrow::ChunkedArray> ChunkedArray__from_list(cpp11::list chunks, SEXP s_type);
extern "C" SEXP _arrow_ChunkedArray__from_list(SEXP chunks_sexp, SEXP s_type_sexp){
BEGIN_CPP11
arrow::r::Input<cpp11::list>::type chunks(chunks_sexp);
arrow::r::Input<SEXP>::type s_type(s_type_sexp);
return cpp11::as_sexp(ChunkedArray__from_list(chunks, s_type));
END_CPP11
}
// chunkedarray.cpp
r_vec_size ChunkedArray__ReferencedBufferSize(const std::shared_ptr<arrow::ChunkedArray>& chunked_array);
extern "C" SEXP _arrow_ChunkedArray__ReferencedBufferSize(SEXP chunked_array_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::ChunkedArray>&>::type chunked_array(chunked_array_sexp);
return cpp11::as_sexp(ChunkedArray__ReferencedBufferSize(chunked_array));
END_CPP11
}
// compression.cpp
std::shared_ptr<arrow::util::Codec> util___Codec__Create(arrow::Compression::type codec, int compression_level);
extern "C" SEXP _arrow_util___Codec__Create(SEXP codec_sexp, SEXP compression_level_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::Compression::type>::type codec(codec_sexp);
arrow::r::Input<int>::type compression_level(compression_level_sexp);
return cpp11::as_sexp(util___Codec__Create(codec, compression_level));
END_CPP11
}
// compression.cpp
std::string util___Codec__name(const std::shared_ptr<arrow::util::Codec>& codec);
extern "C" SEXP _arrow_util___Codec__name(SEXP codec_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::util::Codec>&>::type codec(codec_sexp);
return cpp11::as_sexp(util___Codec__name(codec));
END_CPP11
}
// compression.cpp
bool util___Codec__IsAvailable(arrow::Compression::type codec);
extern "C" SEXP _arrow_util___Codec__IsAvailable(SEXP codec_sexp){
BEGIN_CPP11
arrow::r::Input<arrow::Compression::type>::type codec(codec_sexp);
return cpp11::as_sexp(util___Codec__IsAvailable(codec));
END_CPP11
}
// compression.cpp
std::shared_ptr<arrow::io::CompressedOutputStream> io___CompressedOutputStream__Make(const std::shared_ptr<arrow::util::Codec>& codec, const std::shared_ptr<arrow::io::OutputStream>& raw);
extern "C" SEXP _arrow_io___CompressedOutputStream__Make(SEXP codec_sexp, SEXP raw_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::util::Codec>&>::type codec(codec_sexp);
arrow::r::Input<const std::shared_ptr<arrow::io::OutputStream>&>::type raw(raw_sexp);
return cpp11::as_sexp(io___CompressedOutputStream__Make(codec, raw));
END_CPP11
}
// compression.cpp
std::shared_ptr<arrow::io::CompressedInputStream> io___CompressedInputStream__Make(const std::shared_ptr<arrow::util::Codec>& codec, const std::shared_ptr<arrow::io::InputStream>& raw);
extern "C" SEXP _arrow_io___CompressedInputStream__Make(SEXP codec_sexp, SEXP raw_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::util::Codec>&>::type codec(codec_sexp);
arrow::r::Input<const std::shared_ptr<arrow::io::InputStream>&>::type raw(raw_sexp);
return cpp11::as_sexp(io___CompressedInputStream__Make(codec, raw));
END_CPP11
}
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
std::shared_ptr<acero::ExecPlan> ExecPlan_create(bool use_threads);
extern "C" SEXP _arrow_ExecPlan_create(SEXP use_threads_sexp){
BEGIN_CPP11
arrow::r::Input<bool>::type use_threads(use_threads_sexp);
return cpp11::as_sexp(ExecPlan_create(use_threads));
END_CPP11
}
#else
extern "C" SEXP _arrow_ExecPlan_create(SEXP use_threads_sexp){
Rf_error("Cannot call ExecPlan_create(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");
}
#endif
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
cpp11::list ExecPlanReader__batches(const std::shared_ptr<arrow::RecordBatchReader>& reader);
extern "C" SEXP _arrow_ExecPlanReader__batches(SEXP reader_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatchReader>&>::type reader(reader_sexp);
return cpp11::as_sexp(ExecPlanReader__batches(reader));
END_CPP11
}
#else
extern "C" SEXP _arrow_ExecPlanReader__batches(SEXP reader_sexp){
Rf_error("Cannot call ExecPlanReader__batches(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");
}
#endif
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
std::shared_ptr<arrow::Table> Table__from_ExecPlanReader(const std::shared_ptr<arrow::RecordBatchReader>& reader);
extern "C" SEXP _arrow_Table__from_ExecPlanReader(SEXP reader_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<arrow::RecordBatchReader>&>::type reader(reader_sexp);
return cpp11::as_sexp(Table__from_ExecPlanReader(reader));
END_CPP11
}
#else
extern "C" SEXP _arrow_Table__from_ExecPlanReader(SEXP reader_sexp){
Rf_error("Cannot call Table__from_ExecPlanReader(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");
}
#endif
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
std::shared_ptr<acero::ExecPlan> ExecPlanReader__Plan(const std::shared_ptr<ExecPlanReader>& reader);
extern "C" SEXP _arrow_ExecPlanReader__Plan(SEXP reader_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<ExecPlanReader>&>::type reader(reader_sexp);
return cpp11::as_sexp(ExecPlanReader__Plan(reader));
END_CPP11
}
#else
extern "C" SEXP _arrow_ExecPlanReader__Plan(SEXP reader_sexp){
Rf_error("Cannot call ExecPlanReader__Plan(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");
}
#endif
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
std::string ExecPlanReader__PlanStatus(const std::shared_ptr<ExecPlanReader>& reader);
extern "C" SEXP _arrow_ExecPlanReader__PlanStatus(SEXP reader_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<ExecPlanReader>&>::type reader(reader_sexp);
return cpp11::as_sexp(ExecPlanReader__PlanStatus(reader));
END_CPP11
}
#else
extern "C" SEXP _arrow_ExecPlanReader__PlanStatus(SEXP reader_sexp){
Rf_error("Cannot call ExecPlanReader__PlanStatus(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");
}
#endif
// compute-exec.cpp
#if defined(ARROW_R_WITH_ACERO)
std::shared_ptr<ExecPlanReader> ExecPlan_run(const std::shared_ptr<acero::ExecPlan>& plan, const std::shared_ptr<acero::ExecNode>& final_node, cpp11::strings metadata);
extern "C" SEXP _arrow_ExecPlan_run(SEXP plan_sexp, SEXP final_node_sexp, SEXP metadata_sexp){
BEGIN_CPP11
arrow::r::Input<const std::shared_ptr<acero::ExecPlan>&>::type plan(plan_sexp);
arrow::r::Input<const std::shared_ptr<acero::ExecNode>&>::type final_node(final_node_sexp);
arrow::r::Input<cpp11::strings>::type metadata(metadata_sexp);
return cpp11::as_sexp(ExecPlan_run(plan, final_node, metadata));
END_CPP11
}
#else