-
Notifications
You must be signed in to change notification settings - Fork 2
/
arrow.ijs
2621 lines (2429 loc) · 154 KB
/
arrow.ijs
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
NB. init
cocurrent 'parrow'
lib =: >@((3&{.)@(TAB&cut)&.>)@(LF&cut)
ret =: 0&{::
ptr =: <@(0&{::)
setString=:{{
l1 =. >:@# string =. , > y
string memw (] stringPt =. mema l1),0,l1,2
<stringPt
}}
setInts=:{{
l =. (# , y)
(,y) memw (] Pt =. mema l * 2^2+IF64),0,l,4
<Pt
}}
getString=:{{memr (> y),0,_1,2}}
getStringFree =: {{res [ memf y [ res=.memr (y=.>y),0,_1,2}}
getInts=:{{memr (> y),0,x,4}}
libload =: {{
if. UNAME-:'Linux' do.
arrow =. '/usr/lib/x86_64-linux-gnu/libarrow-glib.so'
parquet =. '/usr/lib/x86_64-linux-gnu/libparquet-glib.so'
flight =. '/usr/lib/x86_64-linux-gnu/libarrow-flight-glib.so'
dataset =. '/usr/lib/x86_64-linux-gnu/libarrow-dataset-glib.so'
elseif. UNAME-:'Darwin' do.
arrow =. '/usr/local/lib/libarrow-glib.dylib'
parquet =. '/usr/local/lib/libparquet-glib.dylib'
flight =. '/usr/local/lib/libarrow-flight-glib.dylib'
dataset =. '/usr/local/lib/libarrow-dataset-glib.dylib'
elseif. UNAME-:'Win' do.
arrow =. 'C:/msys64/mingw64/bin/libarrow-glib-1500.dll'
parquet =. 'C:/msys64/mingw64/bin/libparquet-glib-1500.dll'
flight =. 'C:/msys64/mingw64/bin/libarrow-flight-glib-1500.dll'
dataset =. 'C:/msys64/mingw64/bin/libarrow-dataset-glib-1500.dll'
end.
binariesinstalled =. fexist@> arrow;parquet;flight
msg =. 'Need to install or update binaries.',LF,'See: https://arrow.apache.org/install/',LF,'Missing files:',LF, LF joinstring ( (-. binariesinstalled) # arrow;parquet;flight)
msg assert <./ binariesinstalled
'libArrow libParquet libFlight' =: dquote each arrow;parquet;flight NB. Add double-quotes for cd calls.
1
}}
cbind =: 4 : 0"1 1
'type name args' =. y
v =. (x,' ',name,' ',type)&cd
(". 'name') =: v
1
)
init =: {{
libload''
r=. 1
r =. r <. <./ libArrow cbind gLibBindings
r =. r <. <./ libArrow cbind tableBindings, recordBatchBindings, chunkedArrayBindings
r =. r <. <./ libArrow cbind basicDatatypeBindings, compositeDataTypeBindings
r =. r <. <./ libArrow cbind basicArrayBindings, compositeArrayBindings
r =. r <. <./ libArrow cbind schemaBindings, fieldBindings
r =. r <. <./ libArrow cbind bufferBindings, codecBindings
r =. r <. <./ libArrow cbind memoryBindings
r =. r <. <./ libArrow cbind ipcOptionsBindings,readerBindings,orcFileReaderBindings,writerBindings
r =. r <. <./ libArrow cbind fileSystemBindings, localFileSystemBindings
r =. r <. <./ libArrow cbind readableBindings, inputStreamBindings, writeableBindings, writeableFileBindings, outputStreamBindings, fileBindings
r =. r <. <./ libParquet cbind parquetReaderBindings, parquetWriterBindings
r =. r <. <./ libFlight cbind commonFlightBindings, clientFlightBindings, serverFlightBindings
r
}}
NB. =========================================================
NB. Basic Data Type
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/basic-array-classes.html
NB. =========================================================
basicArrayBindings =: lib 0 : 0
* garrow_equal_options_new (void); GArrowEqualOptions *
i * garrow_equal_options_is_approx (GArrowEqualOptions *options); gboolean
* * * * garrow_array_import (gpointer c_abi_array, GArrowDataType *data_type, GError **error); GArrowArray *
i * * * * garrow_array_export (GArrowArray *array, gpointer *c_abi_array, gpointer *c_abi_schema, GError **error); gboolean
i * * garrow_array_equal (GArrowArray *array, GArrowArray *other_array); gboolean
i * * * garrow_array_equal_options (GArrowArray *array, GArrowArray *other_array, GArrowEqualOptions *options); gboolean
i * * garrow_array_equal_approx (GArrowArray *array, GArrowArray *other_array); gboolean
i * x * x x * garrow_array_equal_range (GArrowArray *array, gint64 start_index, GArrowArray *other_array, gint64 other_start_index, gint64 end_index, GArrowEqualOptions *options); gboolean
i * x garrow_array_is_null (GArrowArray *array, gint64 i); gboolean
i * x garrow_array_is_valid (GArrowArray *array, gint64 i); gboolean
x * garrow_array_get_length (GArrowArray *array); gint64
x * garrow_array_get_offset (GArrowArray *array); gint64
x * garrow_array_get_n_nulls (GArrowArray *array); gint64
* * garrow_array_get_null_bitmap (GArrowArray *array); GArrowBuffer *
* * garrow_array_get_value_data_type (GArrowArray *array); GArrowDataType *
i * garrow_array_get_value_type (GArrowArray *array); GArrowType
* * x x garrow_array_slice (GArrowArray *array, gint64 offset, gint64 length); GArrowArray *
*c * * garrow_array_to_string (GArrowArray *array, GError **error); gchar *
* * * * garrow_array_view (GArrowArray *array, GArrowDataType *return_type, GError **error); GArrowArray *
* * * * garrow_array_diff_unified (GArrowArray *array, GArrowArray *other_array); gchar *
* * * * garrow_array_concatenate (GArrowArray *array, GList *other_arrays, GError **error); GArrowArray *
* l garrow_null_array_new (gint64 length); GArrowNullArray *
* * garrow_primitive_array_get_data_buffer (GArrowPrimitiveArray *array); GArrowBuffer *
*c x * * x garrow_boolean_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowBooleanArray *
i * x garrow_boolean_array_get_value (GArrowBooleanArray *array, gint64 i); gboolean
*i * * garrow_boolean_array_get_values (GArrowBooleanArray *array, gint64 *length); gboolean *
* x * * x garrow_int8_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowInt8Array *
*l * x garrow_int8_array_get_value (GArrowInt8Array *array, gint64 i); gint8
*l * *x garrow_int8_array_get_values (GArrowInt8Array *array, gint64 *length); const gint8 *
* x * * x garrow_uint8_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowUInt8Array *
l * x garrow_uint8_array_get_value (GArrowUInt8Array *array, gint64 i); guint8
*l *i *x garrow_uint8_array_get_values (GArrowUInt8Array *array, gint64 *length); const guint8 *
* * * x garrow_int16_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowInt16Array *
i * x garrow_int16_array_get_value (GArrowInt16Array *array, gint64 i); gint16 NB. FIX
* * * garrow_int16_array_get_values (GArrowInt16Array *array, gint64 *length); const gint16 *
* x * * x garrow_uint16_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowUInt16Array * NB. FIX
i * x garrow_uint16_array_get_value (GArrowUInt16Array *array, gint64 i); guint16 NB. FIX
* * * garrow_uint16_array_get_values (GArrowUInt16Array *array, gint64 *length); const guint16 * NB. FIX
i x * * x garrow_int32_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowInt32Array *
i * x garrow_int32_array_get_value (GArrowInt32Array *array, gint64 i); gint32
*i * *x garrow_int32_array_get_values (GArrowInt32Array *array, gint64 *length); const gint32 *
* x * * x garrow_uint32_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowUInt32Array *
i * x garrow_uint32_array_get_value (GArrowUInt32Array *array, gint64 i); guint32
*i * *x garrow_uint32_array_get_values (GArrowUInt32Array *array, gint64 *length); const guint32 *
*x x * * x garrow_int64_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowInt64Array *
x * x garrow_int64_array_get_value (GArrowInt64Array *array, gint64 i); gint64
*x * *x garrow_int64_array_get_values (GArrowInt64Array *array, gint64 *length); const gint64 *
*x x * * x garrow_uint64_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowUInt64Array *
x * x garrow_uint64_array_get_value (GArrowUInt64Array *array, gint64 i); guint64
*x * *x garrow_uint64_array_get_values (GArrowUInt64Array *array, gint64 *length); const guint64 *
* x * * x garrow_float_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowFloatArray *
f * x garrow_float_array_get_value (GArrowFloatArray *array, gint64 i); gfloat
*d * *x garrow_float_array_get_values (GArrowFloatArray *array, gint64 *length); const gfloat *
* x * * x garrow_double_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowDoubleArray *
d * x garrow_double_array_get_value (GArrowDoubleArray *array, gint64 i); gdouble
*d * *x garrow_double_array_get_values (GArrowDoubleArray *array, gint64 *length); const gdouble *
* x * * * x garrow_base_binary_array_new (gint64 length, GArrowBuffer *value_offsets, GArrowBuffer *value_data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowArray *
* * x garrow_base_binary_array_get_value (GArrowArray *array, gint64 i); GBytes *
* * garrow_base_binary_array_get_data_buffer (GArrowArray *array); GArrowBuffer *
* * garrow_base_binary_array_get_offsets_buffer (GArrowArray *array); GArrowBuffer *
* x * * * x garrow_binary_array_new (gint64 length, GArrowBuffer *value_offsets, GArrowBuffer *value_data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowBinaryArray *
* * x garrow_binary_array_get_value (GArrowBinaryArray *array, gint64 i); GBytes *
* * garrow_binary_array_get_buffer (GArrowBinaryArray *array); GArrowBuffer *
* * garrow_binary_array_get_data_buffer (GArrowBinaryArray *array); GArrowBuffer *
* * garrow_binary_array_get_offsets_buffer (GArrowBinaryArray *array); GArrowBuffer *
* x * * * x garrow_large_binary_array_new (gint64 length, GArrowBuffer *value_offsets, GArrowBuffer *value_data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowLargeBinaryArray *
* * x garrow_large_binary_array_get_value (GArrowLargeBinaryArray *array, gint64 i); GBytes *
* * garrow_large_binary_array_get_buffer (GArrowLargeBinaryArray *array); GArrowBuffer *
* * garrow_large_binary_array_get_data_buffer (GArrowLargeBinaryArray *array); GArrowBuffer *
* * garrow_large_binary_array_get_offsets_buffer (GArrowLargeBinaryArray *array); GArrowBuffer *
*c * x garrow_base_string_array_get_value (GArrowArray *array, gint64 i); gchar *
* x * * * x garrow_string_array_new (gint64 length, GArrowBuffer *value_offsets, GArrowBuffer *value_data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowStringArray *
*c * x garrow_string_array_get_string (GArrowStringArray *array, gint64 i); gchar *
* x * * * x garrow_large_string_array_new (gint64 length, GArrowBuffer *value_offsets, GArrowBuffer *value_data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowLargeStringArray *
* * x garrow_large_string_array_get_string (GArrowLargeStringArray *array, gint64 i); gchar *
* x * * x garrow_date32_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowDate32Array *
i * x garrow_date32_array_get_value (GArrowDate32Array *array, gint64 i); gint32
*i * *x garrow_date32_array_get_values (GArrowDate32Array *array, gint64 *length); const gint32 *
* x * * x garrow_date64_array_new (gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowDate64Array *
x * x garrow_date64_array_get_value (GArrowDate64Array *array, gint64 i); gint64
*x * *x garrow_date64_array_get_values (GArrowDate64Array *array, gint64 *length); const gint64 *
* * x * * x garrow_timestamp_array_new (GArrowTimestampDataType *data_type, gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowTimestampArray *
x * x garrow_timestamp_array_get_value (GArrowTimestampArray *array, gint64 i); gint64
*x * *x garrow_timestamp_array_get_values (GArrowTimestampArray *array, gint64 *length); const gint64 *
*i * x * * x garrow_time32_array_new (GArrowTime32DataType *data_type, gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowTime32Array *
i * x garrow_time32_array_get_value (GArrowTime32Array *array, gint64 i); gint32
*i * *x garrow_time32_array_get_values (GArrowTime32Array *array, gint64 *length); const gint32 *
*x * x * * x garrow_time64_array_new (GArrowTime64DataType *data_type, gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowTime64Array *
x *x x garrow_time64_array_get_value (GArrowTime64Array *array, gint64 i); gint64
*x * x garrow_time64_array_get_values (GArrowTime64Array *array, gint64 *length); const gint64 *
* * x * * x garrow_fixed_size_binary_array_new (GArrowFixedSizeBinaryDataType *data_type, gint64 length, GArrowBuffer *data, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowFixedSizeBinaryArray *
i * garrow_fixed_size_binary_array_get_byte_width (GArrowFixedSizeBinaryArray *array); gint32
* * x garrow_fixed_size_binary_array_get_value (GArrowFixedSizeBinaryArray *array, gint64 i); GBytes *
* * garrow_fixed_size_binary_array_get_values_bytes (GArrowFixedSizeBinaryArray *array); GBytes *
*c * x garrow_decimal128_array_format_value (GArrowDecimal128Array *array, gint64 i); gchar *
* * x garrow_decimal128_array_get_value (GArrowDecimal128Array *array, gint64 i); GArrowDecimal128 *
*c * x garrow_decimal256_array_format_value (GArrowDecimal256Array *array, gint64 i); gchar *
* * x garrow_decimal256_array_get_value (GArrowDecimal256Array *array, gint64 i); GArrowDecimal256 *
* garrow_data_type_get_type (void); int
* garrow_fixed_width_data_type_get_type (void); *
* garrow_boolean_data_type_get_type (void); *
* garrow_numeric_data_type_get_type (void); *
* garrow_integer_data_type_get_type (void); *
* garrow_int8_data_type_get_type (void); *
* garrow_uint8_data_type_get_type (void); *
* garrow_int16_data_type_get_type (void); *
* garrow_uint16_data_type_get_type (void); *
* garrow_int32_data_type_get_type (void); *
* garrow_uint32_data_type_get_type (void); *
* garrow_int64_data_type_get_type (void); *
* garrow_uint64_data_type_get_type (void); *
* garrow_float_data_type_get_type (void); *
* garrow_double_data_type_get_type (void); *
* garrow_binary_data_type_get_type (void); *
* garrow_fixed_size_binary_data_type_get_type (void); *
* garrow_large_binary_data_type_get_type (void); *
* garrow_string_data_type_get_type (void); *
* garrow_large_string_data_type_get_type (void); *
* garrow_temporal_data_type_get_type (void); *
* garrow_date32_data_type_get_type (void); *
* garrow_date64_data_type_get_type (void); *
* garrow_timestamp_data_type_get_type (void); *
* garrow_time_data_type_get_type (void); *
* garrow_time32_data_type_get_type (void); *
* garrow_time64_data_type_get_type (void); *
* garrow_interval_data_type_get_type (void); *
* garrow_decimal_data_type_get_type (void); *
* garrow_decimal128_data_type_get_type (void); *
* garrow_decimal256_data_type_get_type (void); *
* garrow_extension_data_type_get_type (void); *
)
NB. =========================================================
NB. Composite Array
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/composite-data-type-classes.html
NB. =========================================================
compositeArrayBindings =: lib 0 : 0
* * x * * * x garrow_base_list_array_new (GArrowDataType *data_type, gint64 length, GArrowBuffer *value_offsets, GArrowArray *values, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowArray *
* * garrow_base_list_array_get_value_type (GArrowArray *array); GArrowDataType *
* * x garrow_base_list_array_get_value (GArrowArray *array , gint64 i); GArrowArray *
* * garrow_base_list_array_get_values (GArrowArray *array); GArrowArray *
c i x garrow_base_list_array_get_value_offset (GArrowArray *array, gint64 i); typename LIST_ARRAY_CLASS::offset_type
c * x garrow_base_list_array_get_value_length (GArrowArray *array, gint64 i); typename LIST_ARRAY_CLASS::offset_type
*c * *x garrow_base_list_array_get_value_offsets (GArrowArray *array, gint64 *n_offsets); const typename LIST_ARRAY_CLASS::offset_type *
* * x * * * * x garrow_list_array_new (GArrowDataType *data_type, gint64 length, GArrowBuffer *value_offsets, GArrowArray *values, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowListArray *
* * garrow_list_array_get_value_type (GArrowListArray *array); GArrowDataType *
* * x garrow_list_array_get_value (GArrowListArray *array, gint64 i); GArrowArray *
* * garrow_list_array_get_values (GArrowListArray *array); GArrowArray *
i * x garrow_list_array_get_value_offset (GArrowListArray *array, gint64 i); gint32
i * x garrow_list_array_get_value_length (GArrowListArray *array, gint64 i); gint32
*i * x garrow_list_array_get_value_offsets (GArrowListArray *array, gint64 *n_offsets); const gint32 *
* * i * * * x garrow_large_list_array_new (GArrowDataType *data_type, gint64 length, GArrowBuffer *value_offsets, GArrowArray *values, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowLargeListArray *
* * garrow_large_list_array_get_value_type (GArrowLargeListArray *array); GArrowDataType *
* * x garrow_large_list_array_get_value (GArrowLargeListArray *array , gint64 i); GArrowArray *
* * garrow_large_list_array_get_values (GArrowLargeListArray *array); GArrowArray *
x * x garrow_large_list_array_get_value_offset (GArrowLargeListArray *array, gint64 i); gint64
x * x garrow_large_list_array_get_value_length (GArrowLargeListArray *array, gint64 i); gint64
*x * *x garrow_large_list_array_get_value_offsets (GArrowLargeListArray *array, gint64 *n_offsets); const gint64 *
* * x * * x garrow_struct_array_new (GArrowDataType *data_type, gint64 length, GList *fields, GArrowBuffer *null_bitmap, gint64 n_nulls); GArrowStructArray *
* * garrow_struct_array_get_fields_internal (GArrowStructArray *array); static GPtrArray *
* * i garrow_struct_array_get_field (GArrowStructArray *array, gint i); GArrowArray *
* * garrow_struct_array_get_fields (GArrowStructArray *array) GList *
* * * garrow_struct_array_flatten (GArrowStructArray *array, GError **error); GList *
* * * * * garrow_map_array_new (GArrowArray *offsets, GArrowArray *keys, GArrowArray *items, GError **error); GArrowMapArray *
* * garrow_map_array_get_keys (GArrowMapArray *array); GArrowArray *
* * garrow_map_array_get_items (GArrowMapArray *array); GArrowArray *
* * i garrow_union_array_get_field (GArrowUnionArray *array, gint i); GArrowArray *
* * * * garrow_sparse_union_array_new (GArrowInt8Array *type_ids, GList *fields, GError **error); GArrowSparseUnionArray *
* * * * garrow_sparse_union_array_new_data_type (GArrowSparseUnionDataType *data_type, GArrowInt8Array *type_ids, GList *fields, GError **error); GArrowSparseUnionArray *
* * * * * garrow_dense_union_array_new (GArrowInt8Array *type_ids, GArrowInt32Array *value_offsets, GList *fields, GError **error); GArrowDenseUnionArray *
* * * * * * garrow_dense_union_array_new_data_type (GArrowDenseUnionDataType *data_type, GArrowInt8Array *type_ids, GArrowInt32Array *value_offsets, GList *fields, GError **error); GArrowDenseUnionArray *
* * * * * garrow_dictionary_array_new (GArrowDataType *data_type, GArrowArray *indices, GArrowArray *dictionary, GError **error); GArrowDictionaryArray *
* * garrow_dictionary_array_get_indices (GArrowDictionaryArray *array); GArrowArray *
* * garrow_dictionary_array_get_dictionary (GArrowDictionaryArray *array); GArrowArray *
* * garrow_dictionary_array_get_dictionary_data_type (GArrowDictionaryArray *array); GArrowDictionaryDataType *
)
NB. =========================================================
NB. Array Builder
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/array-builder-classes.html
NB. =========================================================
arrayBuilderBindings =: lib 0 : 0
ADD TYPES
garrow_array_builder_append_value(GArrowArrayBuilder *builder, VALUE value, GError **error, const gchar *context); gboolean
garrow_array_builder_append_values(VALUE *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error, const gchar *context, APPEND_FUNCTION append_function); gboolean
garrow_array_builder_append_values(GArrowArrayBuilder *builder, VALUE *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error, const gchar *context); gboolean
garrow_array_builder_append_values(GArrowArrayBuilder *builder, GBytes **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error, const gchar *context); gboolean
garrow_array_builder_append_values( GArrowArrayBuilder *builder, VALUE *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error, const gchar *context, GET_VALUE_FUNCTION get_value_function); gboolean
garrow_array_builder_append_values(GArrowArrayBuilder *builder, GBytes *values, const gboolean *is_valids, gint64 is_valids_length, GError **error, const gchar *context); gboolean
garrow_array_builder_finalize(GObject *object); static void
garrow_array_builder_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
garrow_array_builder_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
garrow_array_builder_init(GArrowArrayBuilder *builder); static void
garrow_array_builder_class_init(GArrowArrayBuilderClass *klass); static void
garrow_array_builder_new(const std::shared_ptr<arrow::DataType> &type, GError **error, const char *context); static GArrowArrayBuilder *
garrow_array_builder_release_ownership(GArrowArrayBuilder *builder); void
garrow_array_builder_get_value_data_type(GArrowArrayBuilder *builder); GArrowDataType *
garrow_array_builder_get_value_type(GArrowArrayBuilder *builder); GArrowType
garrow_array_builder_finish(GArrowArrayBuilder *builder, GError **error); GArrowArray *
garrow_array_builder_reset(GArrowArrayBuilder *builder); void
garrow_array_builder_get_capacity(GArrowArrayBuilder *builder); gint64
garrow_array_builder_get_length(GArrowArrayBuilder *builder); gint64
garrow_array_builder_get_n_nulls(GArrowArrayBuilder *builder); gint64
garrow_array_builder_resize(GArrowArrayBuilder *builder, gint64 capacity, GError **error); gboolean
garrow_array_builder_reserve(GArrowArrayBuilder *builder, gint64 additional_capacity, GError **error); gboolean
garrow_array_builder_append_null(GArrowArrayBuilder *builder, GError **error); gboolean
garrow_array_builder_append_nulls(GArrowArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_array_builder_append_empty_value(GArrowArrayBuilder *builder, GError **error); gboolean
garrow_array_builder_append_empty_values(GArrowArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_null_array_builder_init(GArrowNullArrayBuilder *builder); static void
garrow_null_array_builder_class_init(GArrowNullArrayBuilderClass *klass); static void
garrow_null_array_builder_new(void); GArrowNullArrayBuilder *
garrow_null_array_builder_append_null(GArrowNullArrayBuilder *builder, GError **error); gboolean
garrow_null_array_builder_append_nulls(GArrowNullArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_boolean_array_builder_init(GArrowBooleanArrayBuilder *builder); static void
garrow_boolean_array_builder_class_init(GArrowBooleanArrayBuilderClass *klass); static void
garrow_boolean_array_builder_new(void); GArrowBooleanArrayBuilder *
garrow_boolean_array_builder_append(GArrowBooleanArrayBuilder *builder, gboolean value, GError **error); gboolean
garrow_boolean_array_builder_append_value(GArrowBooleanArrayBuilder *builder, gboolean value, GError **error); gboolean
garrow_boolean_array_builder_append_values(GArrowBooleanArrayBuilder *builder, const gboolean *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_boolean_array_builder_append_null(GArrowBooleanArrayBuilder *builder, GError **error); gboolean
garrow_boolean_array_builder_append_nulls(GArrowBooleanArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_int_array_builder_init(GArrowIntArrayBuilder *builder); static void
garrow_int_array_builder_class_init(GArrowIntArrayBuilderClass *klass); static void
garrow_int_array_builder_new(void); GArrowIntArrayBuilder *
garrow_int_array_builder_append(GArrowIntArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_int_array_builder_append_value(GArrowIntArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_int_array_builder_append_values(GArrowIntArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_int_array_builder_append_null(GArrowIntArrayBuilder *builder, GError **error); gboolean
garrow_int_array_builder_append_nulls(GArrowIntArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_uint_array_builder_init(GArrowUIntArrayBuilder *builder); static void
garrow_uint_array_builder_class_init(GArrowUIntArrayBuilderClass *klass); static void
garrow_uint_array_builder_new(void); GArrowUIntArrayBuilder *
garrow_uint_array_builder_append(GArrowUIntArrayBuilder *builder, guint64 value, GError **error); gboolean
garrow_uint_array_builder_append_value(GArrowUIntArrayBuilder *builder, guint64 value, GError **error); gboolean
garrow_uint_array_builder_append_values(GArrowUIntArrayBuilder *builder, const guint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_uint_array_builder_append_null(GArrowUIntArrayBuilder *builder, GError **error); gboolean
garrow_uint_array_builder_append_nulls(GArrowUIntArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_int8_array_builder_init(GArrowInt8ArrayBuilder *builder); static void
garrow_int8_array_builder_class_init(GArrowInt8ArrayBuilderClass *klass); static void
garrow_int8_array_builder_new(void); GArrowInt8ArrayBuilder *
garrow_int8_array_builder_append(GArrowInt8ArrayBuilder *builder, gint8 value, GError **error); gboolean
garrow_int8_array_builder_append_value(GArrowInt8ArrayBuilder *builder, gint8 value, GError **error); gboolean
garrow_int8_array_builder_append_values(GArrowInt8ArrayBuilder *builder, const gint8 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_int8_array_builder_append_null(GArrowInt8ArrayBuilder *builder, GError **error); gboolean
garrow_int8_array_builder_append_nulls(GArrowInt8ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_uint8_array_builder_init(GArrowUInt8ArrayBuilder *builder); static void
garrow_uint8_array_builder_class_init(GArrowUInt8ArrayBuilderClass *klass); static void
garrow_uint8_array_builder_new(void); GArrowUInt8ArrayBuilder *
garrow_uint8_array_builder_append(GArrowUInt8ArrayBuilder *builder, guint8 value, GError **error); gboolean
garrow_uint8_array_builder_append_value(GArrowUInt8ArrayBuilder *builder, guint8 value, GError **error); gboolean
garrow_uint8_array_builder_append_values(GArrowUInt8ArrayBuilder *builder, const guint8 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_uint8_array_builder_append_null(GArrowUInt8ArrayBuilder *builder, GError **error); gboolean
garrow_uint8_array_builder_append_nulls(GArrowUInt8ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_int16_array_builder_init(GArrowInt16ArrayBuilder *builder); static void
garrow_int16_array_builder_class_init(GArrowInt16ArrayBuilderClass *klass); static void
garrow_int16_array_builder_new(void); GArrowInt16ArrayBuilder *
garrow_int16_array_builder_append(GArrowInt16ArrayBuilder *builder, gint16 value, GError **error); gboolean
garrow_int16_array_builder_append_value(GArrowInt16ArrayBuilder *builder, gint16 value, GError **error); gboolean
garrow_int16_array_builder_append_values(GArrowInt16ArrayBuilder *builder, const gint16 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_int16_array_builder_append_null(GArrowInt16ArrayBuilder *builder, GError **error); gboolean
garrow_int16_array_builder_append_nulls(GArrowInt16ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_uint16_array_builder_init(GArrowUInt16ArrayBuilder *builder); static void
garrow_uint16_array_builder_class_init(GArrowUInt16ArrayBuilderClass *klass); static void
garrow_uint16_array_builder_new(void); GArrowUInt16ArrayBuilder *
garrow_uint16_array_builder_append(GArrowUInt16ArrayBuilder *builder, guint16 value, GError **error); gboolean
garrow_uint16_array_builder_append_value(GArrowUInt16ArrayBuilder *builder, guint16 value, GError **error); gboolean
garrow_uint16_array_builder_append_values(GArrowUInt16ArrayBuilder *builder, const guint16 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_uint16_array_builder_append_null(GArrowUInt16ArrayBuilder *builder, GError **error); gboolean
garrow_uint16_array_builder_append_nulls(GArrowUInt16ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_int32_array_builder_init(GArrowInt32ArrayBuilder *builder); static void
garrow_int32_array_builder_class_init(GArrowInt32ArrayBuilderClass *klass); static void
garrow_int32_array_builder_new(void); GArrowInt32ArrayBuilder *
garrow_int32_array_builder_append(GArrowInt32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_int32_array_builder_append_value(GArrowInt32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_int32_array_builder_append_values(GArrowInt32ArrayBuilder *builder, const gint32 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_int32_array_builder_append_null(GArrowInt32ArrayBuilder *builder, GError **error); gboolean
garrow_int32_array_builder_append_nulls(GArrowInt32ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_uint32_array_builder_init(GArrowUInt32ArrayBuilder *builder); static void
garrow_uint32_array_builder_class_init(GArrowUInt32ArrayBuilderClass *klass); static void
garrow_uint32_array_builder_new(void); GArrowUInt32ArrayBuilder *
garrow_uint32_array_builder_append(GArrowUInt32ArrayBuilder *builder, guint32 value, GError **error); gboolean
garrow_uint32_array_builder_append_value(GArrowUInt32ArrayBuilder *builder, guint32 value, GError **error); gboolean
garrow_uint32_array_builder_append_values(GArrowUInt32ArrayBuilder *builder, const guint32 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_uint32_array_builder_append_null(GArrowUInt32ArrayBuilder *builder, GError **error); gboolean
garrow_uint32_array_builder_append_nulls(GArrowUInt32ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_int64_array_builder_init(GArrowInt64ArrayBuilder *builder); static void
garrow_int64_array_builder_class_init(GArrowInt64ArrayBuilderClass *klass); static void
garrow_int64_array_builder_new(void); GArrowInt64ArrayBuilder *
garrow_int64_array_builder_append(GArrowInt64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_int64_array_builder_append_value(GArrowInt64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_int64_array_builder_append_values(GArrowInt64ArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_int64_array_builder_append_null(GArrowInt64ArrayBuilder *builder, GError **error); gboolean
garrow_int64_array_builder_append_nulls(GArrowInt64ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_uint64_array_builder_init(GArrowUInt64ArrayBuilder *builder); static void
garrow_uint64_array_builder_class_init(GArrowUInt64ArrayBuilderClass *klass); static void
garrow_uint64_array_builder_new(void); GArrowUInt64ArrayBuilder *
garrow_uint64_array_builder_append(GArrowUInt64ArrayBuilder *builder, guint64 value, GError **error); gboolean
garrow_uint64_array_builder_append_value(GArrowUInt64ArrayBuilder *builder, guint64 value, GError **error); gboolean
garrow_uint64_array_builder_append_values(GArrowUInt64ArrayBuilder *builder, const guint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_uint64_array_builder_append_null(GArrowUInt64ArrayBuilder *builder, GError **error); gboolean
garrow_uint64_array_builder_append_nulls(GArrowUInt64ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_float_array_builder_init(GArrowFloatArrayBuilder *builder); static void
garrow_float_array_builder_class_init(GArrowFloatArrayBuilderClass *klass); static void
garrow_float_array_builder_new(void); GArrowFloatArrayBuilder *
garrow_float_array_builder_append(GArrowFloatArrayBuilder *builder, gfloat value, GError **error); gboolean
garrow_float_array_builder_append_value(GArrowFloatArrayBuilder *builder, gfloat value, GError **error); gboolean
garrow_float_array_builder_append_values(GArrowFloatArrayBuilder *builder, const gfloat *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_float_array_builder_append_null(GArrowFloatArrayBuilder *builder, GError **error); gboolean
garrow_float_array_builder_append_nulls(GArrowFloatArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_double_array_builder_init(GArrowDoubleArrayBuilder *builder); static void
garrow_double_array_builder_class_init(GArrowDoubleArrayBuilderClass *klass); static void
garrow_double_array_builder_new(void); GArrowDoubleArrayBuilder *
garrow_double_array_builder_append(GArrowDoubleArrayBuilder *builder, gdouble value, GError **error); gboolean
garrow_double_array_builder_append_value(GArrowDoubleArrayBuilder *builder, gdouble value, GError **error); gboolean
garrow_double_array_builder_append_values(GArrowDoubleArrayBuilder *builder, const gdouble *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_double_array_builder_append_null(GArrowDoubleArrayBuilder *builder, GError **error); gboolean
garrow_double_array_builder_append_nulls(GArrowDoubleArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_binary_array_builder_init(GArrowBinaryArrayBuilder *builder); static void
garrow_binary_array_builder_class_init(GArrowBinaryArrayBuilderClass *klass); static void
garrow_binary_array_builder_new(void); GArrowBinaryArrayBuilder *
garrow_binary_array_builder_append(GArrowBinaryArrayBuilder *builder, const guint8 *value, gint32 length, GError **error); gboolean
garrow_binary_array_builder_append_value(GArrowBinaryArrayBuilder *builder, const guint8 *value, gint32 length, GError **error); gboolean
garrow_binary_array_builder_append_value_bytes(GArrowBinaryArrayBuilder *builder, GBytes *value, GError **error); gboolean
garrow_binary_array_builder_append_values(GArrowBinaryArrayBuilder *builder, GBytes **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_binary_array_builder_append_null(GArrowBinaryArrayBuilder *builder, GError **error); gboolean
garrow_binary_array_builder_append_nulls(GArrowBinaryArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_large_binary_array_builder_init(GArrowLargeBinaryArrayBuilder *builder); static void
garrow_large_binary_array_builder_class_init(GArrowLargeBinaryArrayBuilderClass *klass); static void
garrow_large_binary_array_builder_new(void); GArrowLargeBinaryArrayBuilder *
garrow_large_binary_array_builder_append_value(GArrowLargeBinaryArrayBuilder *builder, const guint8 *value, gint64 length, GError **error); gboolean
garrow_large_binary_array_builder_append_value_bytes(GArrowLargeBinaryArrayBuilder *builder, GBytes *value, GError **error); gboolean
garrow_large_binary_array_builder_append_values(GArrowLargeBinaryArrayBuilder *builder, GBytes **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_large_binary_array_builder_append_null(GArrowLargeBinaryArrayBuilder *builder, GError **error); gboolean
garrow_large_binary_array_builder_append_nulls(GArrowLargeBinaryArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_string_array_builder_init(GArrowStringArrayBuilder *builder); static void
garrow_string_array_builder_class_init(GArrowStringArrayBuilderClass *klass); static void
garrow_string_array_builder_new(void); GArrowStringArrayBuilder *
garrow_string_array_builder_append(GArrowStringArrayBuilder *builder, const gchar *value, GError **error); gboolean
garrow_string_array_builder_append_value(GArrowStringArrayBuilder *builder, const gchar *value, GError **error); gboolean
garrow_string_array_builder_append_string(GArrowStringArrayBuilder *builder, const gchar *value, GError **error); gboolean
garrow_string_array_builder_append_values(GArrowStringArrayBuilder *builder, const gchar **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_string_array_builder_append_strings(GArrowStringArrayBuilder *builder, const gchar **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_large_string_array_builder_init(GArrowLargeStringArrayBuilder *builder); static void
garrow_large_string_array_builder_class_init(GArrowLargeStringArrayBuilderClass *klass); static void
garrow_large_string_array_builder_new(void); GArrowLargeStringArrayBuilder *
garrow_large_string_array_builder_append_string(GArrowLargeStringArrayBuilder *builder, const gchar *value, GError **error); gboolean
garrow_large_string_array_builder_append_strings(GArrowLargeStringArrayBuilder *builder, const gchar **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_fixed_size_binary_array_builder_init( GArrowFixedSizeBinaryArrayBuilder *builder); static void
garrow_fixed_size_binary_array_builder_class_init( GArrowFixedSizeBinaryArrayBuilderClass *klass); static void
garrow_fixed_size_binary_array_builder_new( GArrowFixedSizeBinaryDataType *data_type); GArrowFixedSizeBinaryArrayBuilder *
garrow_fixed_size_binary_array_builder_append_value( GArrowFixedSizeBinaryArrayBuilder *builder, const guint8 *value, gint32 length, GError **error); gboolean
garrow_fixed_size_binary_array_builder_append_value_bytes( GArrowFixedSizeBinaryArrayBuilder *builder, GBytes *value, GError **error); gboolean
garrow_fixed_size_binary_array_builder_append_values( GArrowFixedSizeBinaryArrayBuilder *builder, GBytes **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_fixed_size_binary_array_builder_append_values_packed( GArrowFixedSizeBinaryArrayBuilder *builder, GBytes *values, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_date32_array_builder_init(GArrowDate32ArrayBuilder *builder); static void
garrow_date32_array_builder_class_init(GArrowDate32ArrayBuilderClass *klass); static void
garrow_date32_array_builder_new(void); GArrowDate32ArrayBuilder *
garrow_date32_array_builder_append(GArrowDate32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_date32_array_builder_append_value(GArrowDate32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_date32_array_builder_append_values(GArrowDate32ArrayBuilder *builder, const gint32 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_date32_array_builder_append_null(GArrowDate32ArrayBuilder *builder, GError **error); gboolean
garrow_date32_array_builder_append_nulls(GArrowDate32ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_date64_array_builder_init(GArrowDate64ArrayBuilder *builder); static void
garrow_date64_array_builder_class_init(GArrowDate64ArrayBuilderClass *klass); static void
garrow_date64_array_builder_new(void); GArrowDate64ArrayBuilder *
garrow_date64_array_builder_append(GArrowDate64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_date64_array_builder_append_value(GArrowDate64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_date64_array_builder_append_values(GArrowDate64ArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_date64_array_builder_append_null(GArrowDate64ArrayBuilder *builder, GError **error); gboolean
garrow_date64_array_builder_append_nulls(GArrowDate64ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_timestamp_array_builder_init(GArrowTimestampArrayBuilder *builder); static void
garrow_timestamp_array_builder_class_init(GArrowTimestampArrayBuilderClass *klass); static void
garrow_timestamp_array_builder_new(GArrowTimestampDataType *data_type); GArrowTimestampArrayBuilder *
garrow_timestamp_array_builder_append(GArrowTimestampArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_timestamp_array_builder_append_value(GArrowTimestampArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_timestamp_array_builder_append_values(GArrowTimestampArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_timestamp_array_builder_append_null(GArrowTimestampArrayBuilder *builder, GError **error); gboolean
garrow_timestamp_array_builder_append_nulls(GArrowTimestampArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_time32_array_builder_init(GArrowTime32ArrayBuilder *builder); static void
garrow_time32_array_builder_class_init(GArrowTime32ArrayBuilderClass *klass); static void
garrow_time32_array_builder_new(GArrowTime32DataType *data_type); GArrowTime32ArrayBuilder *
garrow_time32_array_builder_append(GArrowTime32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_time32_array_builder_append_value(GArrowTime32ArrayBuilder *builder, gint32 value, GError **error); gboolean
garrow_time32_array_builder_append_values(GArrowTime32ArrayBuilder *builder, const gint32 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_time32_array_builder_append_null(GArrowTime32ArrayBuilder *builder, GError **error); gboolean
garrow_time32_array_builder_append_nulls(GArrowTime32ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_time64_array_builder_init(GArrowTime64ArrayBuilder *builder); static void
garrow_time64_array_builder_class_init(GArrowTime64ArrayBuilderClass *klass); static void
garrow_time64_array_builder_new(GArrowTime64DataType *data_type); GArrowTime64ArrayBuilder *
garrow_time64_array_builder_append(GArrowTime64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_time64_array_builder_append_value(GArrowTime64ArrayBuilder *builder, gint64 value, GError **error); gboolean
garrow_time64_array_builder_append_values(GArrowTime64ArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_time64_array_builder_append_null(GArrowTime64ArrayBuilder *builder, GError **error); gboolean
garrow_time64_array_builder_append_nulls(GArrowTime64ArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_binary_dictionary_array_builder_init(GArrowBinaryDictionaryArrayBuilder *builder); static void
garrow_binary_dictionary_array_builder_class_init(GArrowBinaryDictionaryArrayBuilderClass *klass); static void
garrow_binary_dictionary_array_builder_new(void); GArrowBinaryDictionaryArrayBuilder *
garrow_binary_dictionary_array_builder_append_null(GArrowBinaryDictionaryArrayBuilder *builder, GError **error); gboolean
garrow_binary_dictionary_array_builder_append_value(GArrowBinaryDictionaryArrayBuilder *builder, const guint8 *value, gint32 length, GError **error); gboolean
garrow_binary_dictionary_array_builder_append_value_bytes(GArrowBinaryDictionaryArrayBuilder *builder, GBytes *value, GError **error); gboolean
garrow_binary_dictionary_array_builder_append_array(GArrowBinaryDictionaryArrayBuilder *builder, GArrowBinaryArray *array, GError **error); gboolean
garrow_binary_dictionary_array_builder_append_indices(GArrowBinaryDictionaryArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_binary_dictionary_array_builder_get_dictionary_length(GArrowBinaryDictionaryArrayBuilder *builder); gint64
garrow_binary_dictionary_array_builder_finish_delta(GArrowBinaryDictionaryArrayBuilder* builder, GArrowArray **out_indices, GArrowArray **out_delta, GError **error); gboolean
garrow_binary_dictionary_array_builder_insert_memo_values(GArrowBinaryDictionaryArrayBuilder *builder, GArrowBinaryArray *values, GError **error); gboolean
garrow_binary_dictionary_array_builder_reset_full(GArrowBinaryDictionaryArrayBuilder *builder); void
garrow_string_dictionary_array_builder_init(GArrowStringDictionaryArrayBuilder *builder); static void
garrow_string_dictionary_array_builder_class_init(GArrowStringDictionaryArrayBuilderClass *klass); static void
garrow_string_dictionary_array_builder_new(void); GArrowStringDictionaryArrayBuilder *
garrow_string_dictionary_array_builder_append_null(GArrowStringDictionaryArrayBuilder *builder, GError **error); gboolean
garrow_string_dictionary_array_builder_append_string(GArrowStringDictionaryArrayBuilder *builder, const gchar *value, GError **error); gboolean
garrow_string_dictionary_array_builder_append_array(GArrowStringDictionaryArrayBuilder *builder, GArrowStringArray *array, GError **error); gboolean
garrow_string_dictionary_array_builder_append_indices(GArrowStringDictionaryArrayBuilder *builder, const gint64 *values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_string_dictionary_array_builder_get_dictionary_length(GArrowStringDictionaryArrayBuilder *builder); gint64
garrow_string_dictionary_array_builder_finish_delta(GArrowStringDictionaryArrayBuilder* builder, GArrowArray **out_indices, GArrowArray **out_delta, GError **error); gboolean
garrow_string_dictionary_array_builder_insert_memo_values(GArrowStringDictionaryArrayBuilder *builder, GArrowStringArray *values, GError **error); gboolean
garrow_string_dictionary_array_builder_reset_full(GArrowStringDictionaryArrayBuilder *builder); void
garrow_list_array_builder_dispose(GObject *object); static void
garrow_list_array_builder_init(GArrowListArrayBuilder *builder); static void
garrow_list_array_builder_class_init(GArrowListArrayBuilderClass *klass); static void
garrow_list_array_builder_new(GArrowListDataType *data_type, GError **error); GArrowListArrayBuilder *
garrow_list_array_builder_append(GArrowListArrayBuilder *builder, GError **error); gboolean
garrow_list_array_builder_append_value(GArrowListArrayBuilder *builder, GError **error); gboolean
garrow_list_array_builder_append_null(GArrowListArrayBuilder *builder, GError **error); gboolean
garrow_list_array_builder_get_value_builder(GArrowListArrayBuilder *builder); GArrowArrayBuilder *
garrow_large_list_array_builder_dispose(GObject *object); static void
garrow_large_list_array_builder_init(GArrowLargeListArrayBuilder *builder); static void
garrow_large_list_array_builder_class_init(GArrowLargeListArrayBuilderClass *klass); static void
garrow_large_list_array_builder_new(GArrowLargeListDataType *data_type, GError **error); GArrowLargeListArrayBuilder *
garrow_large_list_array_builder_append_value(GArrowLargeListArrayBuilder *builder, GError **error); gboolean
garrow_large_list_array_builder_append_null(GArrowLargeListArrayBuilder *builder, GError **error); gboolean
garrow_large_list_array_builder_get_value_builder(GArrowLargeListArrayBuilder *builder); GArrowArrayBuilder *
garrow_struct_array_builder_dispose(GObject *object); static void
garrow_struct_array_builder_init(GArrowStructArrayBuilder *builder); static void
garrow_struct_array_builder_class_init(GArrowStructArrayBuilderClass *klass); static void
garrow_struct_array_builder_new(GArrowStructDataType *data_type, GError **error); GArrowStructArrayBuilder *
garrow_struct_array_builder_append(GArrowStructArrayBuilder *builder, GError **error); gboolean
garrow_struct_array_builder_append_value(GArrowStructArrayBuilder *builder, GError **error); gboolean
garrow_struct_array_builder_append_null(GArrowStructArrayBuilder *builder, GError **error); gboolean
garrow_struct_array_builder_get_field_builder(GArrowStructArrayBuilder *builder, gint i); GArrowArrayBuilder *
garrow_struct_array_builder_get_field_builders(GArrowStructArrayBuilder *builder); GList *
garrow_map_array_builder_dispose(GObject *object); static void
garrow_map_array_builder_init(GArrowMapArrayBuilder *builder); static void
garrow_map_array_builder_class_init(GArrowMapArrayBuilderClass *klass); static void
garrow_map_array_builder_new(GArrowMapDataType *data_type, GError **error); GArrowMapArrayBuilder *
garrow_map_array_builder_append_value(GArrowMapArrayBuilder *builder, GError **error); gboolean
garrow_map_array_builder_append_values(GArrowMapArrayBuilder *builder, const gint32 *offsets, gint64 offsets_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_map_array_builder_append_null(GArrowMapArrayBuilder *builder, GError **error); gboolean
garrow_map_array_builder_append_nulls(GArrowMapArrayBuilder *builder, gint64 n, GError **error); gboolean
garrow_map_array_builder_get_key_builder(GArrowMapArrayBuilder *builder); GArrowArrayBuilder *
garrow_map_array_builder_get_item_builder(GArrowMapArrayBuilder *builder); GArrowArrayBuilder *
garrow_map_array_builder_get_value_builder(GArrowMapArrayBuilder *builder); GArrowArrayBuilder *
garrow_decimal128_array_builder_init(GArrowDecimal128ArrayBuilder *builder); static void
garrow_decimal128_array_builder_class_init(GArrowDecimal128ArrayBuilderClass *klass); static void
garrow_decimal128_array_builder_new(GArrowDecimal128DataType *data_type); GArrowDecimal128ArrayBuilder *
garrow_decimal128_array_builder_append(GArrowDecimal128ArrayBuilder *builder, GArrowDecimal128 *value, GError **error); gboolean
garrow_decimal128_array_builder_append_value(GArrowDecimal128ArrayBuilder *builder, GArrowDecimal128 *value, GError **error); gboolean
garrow_decimal128_array_builder_append_values(GArrowDecimal128ArrayBuilder *builder, GArrowDecimal128 **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_decimal128_array_builder_append_null(GArrowDecimal128ArrayBuilder *builder, GError **error); gboolean
garrow_decimal256_array_builder_init(GArrowDecimal256ArrayBuilder *builder); static void
garrow_decimal256_array_builder_class_init(GArrowDecimal256ArrayBuilderClass *klass); static void
garrow_decimal256_array_builder_new(GArrowDecimal256DataType *data_type); GArrowDecimal256ArrayBuilder *
garrow_decimal256_array_builder_append_value(GArrowDecimal256ArrayBuilder *builder, GArrowDecimal256 *value, GError **error); gboolean
garrow_decimal256_array_builder_append_values(GArrowDecimal256ArrayBuilder *builder, GArrowDecimal256 **values, gint64 values_length, const gboolean *is_valids, gint64 is_valids_length, GError **error); gboolean
garrow_array_builder_new_raw(arrow::ArrayBuilder *arrow_builder, GType type); ArrowArrayBuilder *
garrow_array_builder_get_raw(GArrowArrayBuilder *builder); arrow::ArrayBuilder *
)
NB. =========================================================
NB. Buffer
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/buffer-classes.html
NB. =========================================================
bufferBindings =: lib 0 : 0
n * garrow_buffer_finalize (GObject *object); static void
n * i * * garrow_buffer_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
n * i * * garrow_buffer_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
n * garrow_buffer_init (GArrowBuffer *object); static void
n * garrow_buffer_class_init (GArrowBufferClass *klass); static void
* * i garrow_buffer_new (const guint8 *data, gint64 size); GArrowBuffer *
* * garrow_buffer_new_bytes (GBytes *data); GArrowBuffer *
i * * garrow_buffer_equal (GArrowBuffer *buffer, GArrowBuffer *other_buffer); gboolean
i * * i garrow_buffer_equal_n_bytes (GArrowBuffer *buffer, GArrowBuffer *other_buffer, gint64 n_bytes); gboolean
i * garrow_buffer_is_mutable (GArrowBuffer *buffer); gboolean
i * garrow_buffer_get_capacity (GArrowBuffer *buffer); gint64
* * garrow_buffer_get_data (GArrowBuffer *buffer); GBytes *
* * garrow_buffer_get_mutable_data (GArrowBuffer *buffer); GBytes *
i * garrow_buffer_get_size (GArrowBuffer *buffer); gint64
* * garrow_buffer_get_parent (GArrowBuffer *buffer); GArrowBuffer *
* * i i * garrow_buffer_copy (GArrowBuffer *buffer, gint64 start, gint64 size, GError **error); GArrowBuffer *
* * i i garrow_buffer_slice (GArrowBuffer *buffer, gint64 offset, gint64 size); GArrowBuffer *
n * garrow_mutable_buffer_init (GArrowMutableBuffer *object); static void
n * garrow_mutable_buffer_class_init (GArrowMutableBufferClass *klass); static void
* * i garrow_mutable_buffer_new (guint8 *data, gint64 size); GArrowMutableBuffer *
* * garrow_mutable_buffer_new_bytes (GBytes *data); GArrowMutableBuffer *
* * i i garrow_mutable_buffer_slice (GArrowMutableBuffer *buffer, gint64 offset, gint64 size); GArrowMutableBuffer *
i * i *i i * garrow_mutable_buffer_set_data (GArrowMutableBuffer *buffer, gint64 offset, const guint8 *data, gint64 size, GError **error); gboolean
n * garrow_resizable_buffer_init (GArrowResizableBuffer *object); static void
n * garrow_resizable_buffer_class_init (GArrowResizableBufferClass *klass); static void
* i * garrow_resizable_buffer_new (gint64 initial_size, GError **error); GArrowResizableBuffer *
i * i * garrow_resizable_buffer_resize (GArrowResizableBuffer *buffer, gint64 new_size, GError **error); gboolean
i * i * garrow_resizable_buffer_reserve (GArrowResizableBuffer *buffer, gint64 new_capacity, GError **error); gboolean
* * garrow_buffer_new_raw (std::shared_ptr<arrow::Buffer> *arrow_buffer); ArrowBuffer *
* * * garrow_buffer_new_raw_bytes (std::shared_ptr<arrow::Buffer> *arrow_buffer, GBytes *data); GArrowBuffer *
* * * garrow_buffer_new_raw_parent (std::shared_ptr<arrow::Buffer> *arrow_buffer, GArrowBuffer *parent); GArrowBuffer *
* * garrow_buffer_get_raw (GArrowBuffer *buffer); std::shared_ptr<arrow::Buffer>
* * garrow_mutable_buffer_new_raw (std::shared_ptr<arrow::MutableBuffer> *arrow_buffer); GArrowMutableBuffer *
* * * garrow_mutable_buffer_new_raw_bytes (std::shared_ptr<arrow::MutableBuffer> *arrow_buffer, GBytes *data); GArrowMutableBuffer *
* * garrow_resizable_buffer_new_raw (std::shared_ptr<arrow::ResizableBuffer> *arrow_buffer); GArrowResizableBuffer *
)
NB. =========================================================
NB. Codec
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowCodec.html
NB. =========================================================
codecBindings =: lib 0 : 0
* i * garrow_codec_new (GArrowCompressionType type,GError **error); GArrowCodec *
* * garrow_codec_get_name (GArrowCodec *codec); const gchar *
i * garrow_codec_get_compression_type (GArrowCodec *codec); GArrowCompressionType
i * garrow_codec_get_compression_level (GArrowCodec *codec); gint
)
NB. =========================================================
NB. Basic Data Type
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/basic-data-type-classes.html
NB. =========================================================
basicDatatypeBindings =: lib 0 : 0
* * * garrow_data_type_import (gpointer c_abi_schema, GError **error); GArrowDataType *
* * * garrow_data_type_export (GArrowDataType *data_type, GError **error); gpointer
i * * garrow_data_type_equal (GArrowDataType *data_type, GArrowDataType *other_data_type); gboolean
*c * garrow_data_type_to_string (GArrowDataType *data_type); gchar *
i * garrow_data_type_get_id (GArrowDataType *data_type); GArrowType
*c * garrow_data_type_get_name (GArrowDataType *data_type); gchar *
i * garrow_fixed_width_data_type_get_bit_width (GArrowFixedWidthDataType *data_type); gint
* garrow_null_data_type_new (void); GArrowNullDataType *
* garrow_boolean_data_type_new (void); GArrowBooleanDataType *
i * garrow_integer_data_type_is_signed (GArrowIntegerDataType *data_type); gboolean
* garrow_int8_data_type_new (void);GArrowInt8DataType *
* garrow_uint8_data_type_new (void); GArrowUInt8DataType *
* garrow_int16_data_type_new (void); GArrowInt16DataType *
* garrow_uint16_data_type_new (void); GArrowUInt16DataType *
* garrow_int32_data_type_new (void); GArrowInt32DataType *
* garrow_uint32_data_type_new (void); GArrowUInt32DataType *
* garrow_int64_data_type_new (void); GArrowInt64DataType *
* garrow_uint64_data_type_new (void); GArrowUInt64DataType *
* garrow_float_data_type_new (void); GArrowFloatDataType *
* garrow_double_data_type_new (void); GArrowDoubleDataType *
* garrow_binary_data_type_new (void); GArrowBinaryDataType *
* i garrow_fixed_size_binary_data_type_new (gint32 byte_width); GArrowFixedSizeBinaryDataType *
i * garrow_fixed_size_binary_data_type_get_byte_width (GArrowFixedSizeBinaryDataType *data_type); gint32
* garrow_large_binary_data_type_new (void); GArrowLargeBinaryDataType *
* garrow_string_data_type_new (void); GArrowStringDataType *
* garrow_large_string_data_type_new (void); GArrowLargeStringDataType *
* garrow_date32_data_type_new (void); GArrowDate32DataType *
* garrow_date64_data_type_new (void); GArrowDate64DataType *
* i garrow_timestamp_data_type_new (GArrowTimeUnit unit); GArrowTimestampDataType *
i * garrow_timestamp_data_type_get_unit (GArrowTimestampDataType *timestamp_data_type); GArrowTimeUnit
i * garrow_time_data_type_get_unit (GArrowTimeDataType *time_data_type); GArrowTimeUnit
* i * garrow_time32_data_type_new (GArrowTimeUnit unit, GError **error); GArrowTime32DataType *
* i * garrow_time64_data_type_new (GArrowTimeUnit unit, GError **error); GArrowTime64DataType *
* i i garrow_decimal_data_type_new (gint32 precision, gint32 scale); GArrowDecimalDataType *
i * garrow_decimal_data_type_get_precision (GArrowDecimalDataType *decimal_data_type); gint32
i * garrow_decimal_data_type_get_scale (GArrowDecimalDataType *decimal_data_type); gint32
i garrow_decimal128_data_type_max_precision (); gint32
* i i garrow_decimal128_data_type_new (gint32 precision, gint32 scale); GArrowDecimal128DataType *
i garrow_decimal256_data_type_max_precision (); gint32
* i i garrow_decimal256_data_type_new (gint32 precision, gint32 scale); GArrowDecimal256DataType *
*c * garrow_extension_data_type_get_extension_name (GArrowExtensionDataType *data_type); gchar *
* * * garrow_extension_data_type_wrap_array (GArrowExtensionDataType *data_type, GArrowArray *storage); GArrowExtensionArray *
* * * garrow_extension_data_type_wrap_chunked_array (GArrowExtensionDataType *data_type, GArrowChunkedArray *storage); GArrowChunkedArray *
* garrow_extension_data_type_registry_default (void); GArrowExtensionDataTypeRegistry *
i * * * garrow_extension_data_type_registry_register (GArrowExtensionDataTypeRegistry *registry, GArrowExtensionDataType *data_type, GError **error); gboolean
i * *c * garrow_extension_data_type_registry_unregister (GArrowExtensionDataTypeRegistry *registry, const gchar *name, GError **error); gboolean
* * *c garrow_extension_data_type_registry_lookup (GArrowExtensionDataTypeRegistry *registry, const gchar *name); GArrowExtensionDataType *
* garrow_data_type_get_type (void) *
* garrow_fixed_width_data_type_get_type (void) *
* garrow_boolean_data_type_get_type (void) *
* garrow_numeric_data_type_get_type (void) *
* garrow_integer_data_type_get_type (void) *
* garrow_int8_data_type_get_type (void) *
* garrow_uint8_data_type_get_type (void) *
* garrow_int16_data_type_get_type (void) *
* garrow_uint16_data_type_get_type (void) *
* garrow_int32_data_type_get_type (void) *
* garrow_uint32_data_type_get_type (void) *
* garrow_int64_data_type_get_type (void) *
* garrow_uint64_data_type_get_type (void) *
* garrow_float_data_type_get_type (void) *
* garrow_double_data_type_get_type (void) *
* garrow_binary_data_type_get_type (void) *
* garrow_fixed_size_binary_data_type_get_type (void) *
* garrow_large_binary_data_type_get_type (void) *
* garrow_string_data_type_get_type (void) *
* garrow_large_string_data_type_get_type (void) *
* garrow_date32_data_type_get_type (void) *
* garrow_date64_data_type_get_type (void) *
* garrow_timestamp_data_type_get_type (void) *
* garrow_time_data_type_get_type (void) *
* garrow_time32_data_type_get_type (void) *
* garrow_time64_data_type_get_type (void) *
* garrow_decimal_data_type_get_type (void) *
* garrow_decimal128_data_type_get_type (void) *
* garrow_decimal256_data_type_get_type (void) *
* garrow_extension_data_type_get_type (void) *
)
NB. =========================================================
NB. Composite Data Type
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/composite-data-type-classes.html
NB. =========================================================
compositeDataTypeBindings =: lib 0 : 0
* * garrow_list_data_type_new (GArrowField *field);GArrowListDataType *
* * garrow_list_data_type_get_value_field (GArrowListDataType *list_data_type); GArrowField *
* * garrow_list_data_type_get_field (GArrowListDataType *list_data_type); GArrowField *
* * garrow_large_list_data_type_new (GArrowField *field); GArrowLargeListDataType *
* * garrow_large_list_data_type_get_field (GArrowLargeListDataType *large_list_data_type);GArrowField *
* * garrow_struct_data_type_new (GList *fields);GArrowStructDataType *
i * garrow_struct_data_type_get_n_fields (GArrowStructDataType *struct_data_type);gint
* * garrow_struct_data_type_get_fields (GArrowStructDataType *struct_data_type);GList *
* * i garrow_struct_data_type_get_field (GArrowStructDataType *struct_data_type, gint i); GArrowField *
* * *c garrow_struct_data_type_get_field_by_name (GArrowStructDataType *struct_data_type, const gchar *name); GArrowField *
i * *c garrow_struct_data_type_get_field_index (GArrowStructDataType *struct_data_type, const gchar *name); gint
* * * garrow_map_data_type_new (GArrowDataType *key_type, GArrowDataType *item_type); GArrowMapDataType *
* * garrow_map_data_type_get_key_type (GArrowMapDataType *map_data_type); GArrowDataType *
* * garrow_map_data_type_get_item_type (GArrowMapDataType *map_data_type); GArrowDataType *
i * garrow_union_data_type_get_n_fields (GArrowUnionDataType *union_data_type); gint
* * garrow_union_data_type_get_fields (GArrowUnionDataType *union_data_type); GList *
* * i garrow_union_data_type_get_field (GArrowUnionDataType *union_data_type, gint i); GArrowField *
* * * garrow_union_data_type_get_type_codes (GArrowUnionDataType *union_data_type, gsize *n_type_codes); gint8 *
* * * i garrow_sparse_union_data_type_new (GList *fields, gint8 *type_codes, gsize n_type_codes); GArrowSparseUnionDataType *
* * * i garrow_dense_union_data_type_new (GList *fields, gint8 *type_codes, gsize n_type_codes); GArrowDenseUnionDataType *
* * * i garrow_dictionary_data_type_new (GArrowDataType *index_data_type, GArrowDataType *value_data_type, gboolean ordered); GArrowDictionaryDataType *
* * garrow_dictionary_data_type_get_index_data_type (GArrowDictionaryDataType *dictionary_data_type); GArrowDataType *
* * garrow_dictionary_data_type_get_value_data_type (GArrowDictionaryDataType *dictionary_data_type); GArrowDataType *
i * garrow_dictionary_data_type_is_ordered (GArrowDictionaryDataType *dictionary_data_type); gboolean
)
NB. =========================================================
NB. Error
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/arrow-glib-GArrowError.html
NB. =========================================================
errorBindings =: lib 0 : 0
b * & * garrow_error_check (GError **error, const arrow::Status &status, const char *context); boolean
* & garrow_error_from_status (const arrow::Status &status); GArrowError
* * * garrow_error_to_status_code (GError *error, arrow::StatusCode default_code); arrow::StatusCode
* * * garrow_error_to_status (GError *error, arrow::StatusCode default_code, const char *context); arrow::Status
)
NB. Parquet
NB. =========================================================
NB. Reader
NB. https://arrow.apache.org/docs/c_glib/parquet-glib/GParquetArrowFileReader.html
parquetReaderBindings =: lib 0 : 0
* * * gparquet_arrow_file_reader_new_arrow (GArrowSeekableInputStream *source, GError **error); * GParquetArrowFileReader
* *c * gparquet_arrow_file_reader_new_path (const gchar *path, GError **error); * GParquetArrowFileReader
* * * gparquet_arrow_file_reader_read_table (GParquetArrowFileReader *reader, GError **error); * GArrowTable
* *i i *i i i gparquet_arrow_file_reader_read_row_group (GParquetArrowFileReader *reader, gint row_group_index, gint *column_indices, gsize n_column_indices, GError **error); * GArrowTable
* * * gparquet_arrow_file_reader_get_schema (GParquetArrowFileReader *reader, GError **error); * GArrowSchema
* * i * gparquet_arrow_file_reader_read_column_data (GParquetArrowFileReader *reader, gint i, GError **error); * GArrowChunkedArray
i * gparquet_arrow_file_reader_get_n_row_groups (GParquetArrowFileReader *reader); gint
n * i gparquet_arrow_file_reader_set_use_threads (GParquetArrowFileReader *reader, gboolean use_threads); void
)
NB. =========================================================
NB. Writer
NB. https://arrow.apache.org/docs/c_glib/parquet-glib/GParquetArrowFileWriter.html
parquetWriterBindings =: lib 0 : 0
* gparquet_writer_properties_new (void); GParquetWriterProperties
n * c *c gparquet_writer_properties_set_compression (GParquetWriterProperties *properties, GArrowCompressionType compression_type, const gchar *path); void
? * *c gparquet_writer_properties_get_compression_path (GParquetWriterProperties *properties, const gchar *path); GArrowCompressionType
n * * gparquet_writer_properties_enable_dictionary (GParquetWriterProperties *properties, const gchar *path); void
n * * gparquet_writer_properties_disable_dictionary (GParquetWriterProperties *properties, const gchar *path); void
i * * gparquet_writer_properties_is_dictionary_enabled (GParquetWriterProperties *properties, const gchar *path); gboolean
n * gparquet_writer_properties_set_dictionary_page_size_limit (GParquetWriterProperties *properties, gint64 limit); void
x * gparquet_writer_properties_get_dictionary_page_size_limit (GParquetWriterProperties *properties); gint64
n * x gparquet_writer_properties_set_batch_size (GParquetWriterProperties *properties, gint64 batch_size); void
x * gparquet_writer_properties_get_batch_size (GParquetWriterProperties *properties); gint64
n * x gparquet_writer_properties_set_max_row_group_length (GParquetWriterProperties *properties, gint64 length); void
x * gparquet_writer_properties_get_max_row_group_length (GParquetWriterProperties *properties); gint64
n * x gparquet_writer_properties_set_data_page_size (GParquetWriterProperties *properties, gint64 data_page_size); void
x * gparquet_writer_properties_get_data_page_size (GParquetWriterProperties *properties); gint64
* * * * * gparquet_arrow_file_writer_new_arrow (GArrowSchema *schema, GArrowOutputStream *sink,GParquetWriterProperties *writer_properties,GError **error); GParquetArrowFileWriter *
* * * * * gparquet_arrow_file_writer_new_path (GArrowSchema *schema, const gchar *path, GParquetWriterProperties *writer_properties, GError **error); GParquetArrowFileWriter *
i * * x * gparquet_arrow_file_writer_write_table (GParquetArrowFileWriter *writer, GArrowTable *table, guint64 chunk_size, GError **error); gboolean
i * * gparquet_arrow_file_writer_close (GParquetArrowFileWriter *writer, GError **error); gboolean
)
NB. =========================================================
NB. ArrowSchema
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowSchema.html
schemaBindings =: lib 0 : 0
* * garrow_schema_new (GList *fields); GArrowSchema *
i * * garrow_schema_equal (GArrowSchema *schema, GArrowSchema *other_schema); gboolean
* * i garrow_schema_get_field (GArrowSchema *schema, guint i); GArrowField *
* * * garrow_schema_get_field_by_name (GArrowSchema *schema,const gchar *name); GArrowField *
i * * garrow_schema_get_field_index (GArrowSchema *schema,const gchar *name); gint
i * garrow_schema_n_fields (GArrowSchema *schema); guint
* * garrow_schema_get_fields (GArrowSchema *schema); GList *
* * garrow_schema_to_string (GArrowSchema *schema); gchar *
* * i garrow_schema_to_string_metadata (GArrowSchema *schema, gboolean show_metadata); gchar *
* * i * * garrow_schema_add_field (GArrowSchema *schema, guint i, GArrowField *field, GError **error); GArrowSchema *
* * i * garrow_schema_remove_field (GArrowSchema *schema,guint i, GError **error); GArrowSchema *
* * i * * garrow_schema_replace_field (GArrowSchema *schema,guint i, GArrowField *field, GError **error); GArrowSchema *
)
NB. =========================================================
NB. ArrowField
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowField.html
fieldBindings =: lib 0 : 0
* * * garrow_field_new (const gchar *name, GArrowDataType *data_type); GArrowField *
* * * i garrow_field_new_full (const gchar *name, GArrowDataType *data_type, gboolean nullable); GArrowField *
* * garrow_field_get_name (GArrowField *field); const gchar *
* * garrow_field_get_data_type (GArrowField *field); GArrowDataType *
i * garrow_field_is_nullable (GArrowField *field); gboolean
i * * garrow_field_equal (GArrowField *field, GArrowField *other_field); gboolean
* * garrow_field_to_string (GArrowField *field); gchar *
* * i garrow_field_to_string_metadata (GArrowField *field, gboolean show_metadata); gchar *
i * garrow_field_has_metadata (GArrowField *field); gboolean
* * garrow_field_get_metadata (GArrowField *field); GHashTable *
* * * garrow_field_with_metadata (GArrowField *field, GHashTable *metadata); GArrowField *
* * * garrow_field_with_merged_metadata (GArrowField *field, GHashTable *metadata); GArrowField *
* * garrow_field_remove_metadata (GArrowField *field); GArrowField *
)
NB. =========================================================
NB. ArrowTable
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowTable.html
tableBindings =: lib 0 : 0
* * * * garrow_table_new_values (GArrowSchema *schema, GList *values, GError **error); GArrowTable *
* * * * i * garrow_table_new_chunked_arrays (GArrowSchema *schema, GArrowChunkedArray **chunked_arrays, gsize n_chunked_arrays, GError **error); GArrowTable *
* * * i * garrow_table_new_arrays (GArrowSchema *schema, GArrowArray **arrays, gsize n_arrays, GError **error); GArrowTable *
* * * i * garrow_table_new_record_batches (GArrowSchema *schema, GArrowRecordBatch **record_batches, gsize n_record_batches, GError **error); GArrowTable *
i * * garrow_table_equal (GArrowTable *table, GArrowTable *other_table); gboolean
i * * i garrow_table_equal_metadata (GArrowTable *table, GArrowTable *other_table, gboolean check_metadata); gboolean
* * garrow_table_get_schema (GArrowTable *table); GArrowSchema *
* * i garrow_table_get_column_data (GArrowTable *table, gint i); GArrowChunkedArray *
i * garrow_table_get_n_columns (GArrowTable *table); guint
l * garrow_table_get_n_rows (GArrowTable *table); guint64
* * i * * * garrow_table_add_column (GArrowTable *table, guint i, GArrowField *field, GArrowChunkedArray *chunked_array, GError **error); GArrowTable *
* * i * garrow_table_remove_column (GArrowTable *table, guint i, GError **error); GArrowTable *
* * i * * * garrow_table_replace_column (GArrowTable *table, guint i, GArrowField *field, GArrowChunkedArray *chunked_array, GError **error); GArrowTable *
* * * garrow_table_to_string (GArrowTable *table, GError **error); gchar *
* * * * * garrow_table_concatenate (GArrowTable *table, GList *other_tables, GArrowTableConcatenateOptions *options, GError **error); GArrowTable *
* garrow_table_concatenate_options_new (void); GArrowTableConcatenateOptions *
* * x x garrow_table_slice (GArrowTable *table, gint64 offset, gint64 length); GArrowTable *
* * * garrow_table_combine_chunks (GArrowTable *table, GError **error); GArrowTable *
n * garrow_feather_write_properties_finalize (GObject *object); static void
n * i * * garrow_feather_write_properties_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
n * i * * garrow_feather_write_properties_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
n * garrow_feather_write_properties_init (GArrowFeatherWriteProperties *object); static void
n * garrow_feather_write_properties_class_init (GArrowFeatherWritePropertiesClass *klass); static void
* n garrow_feather_write_properties_new (void); GArrowFeatherWriteProperties *
i * * * * garrow_table_write_as_feather (GArrowTable *table, GArrowOutputStream *sink, GArrowFeatherWriteProperties *properties, GError **error); gboolean
)
NB. =========================================================
NB. Record Batch
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/record-batch.html
NB. =========================================================
recordBatchBindings =: lib 0 : 0
n * garrow_record_batch_finalize (GObject *object); static void
n * i * * garrow_record_batch_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
n * i * * garrow_record_batch_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
n * garrow_record_batch_init (GArrowRecordBatch *object); static void
n * garrow_record_batch_class_init (GArrowRecordBatchClass *klass); static void
* * i * * garrow_record_batch_new (GArrowSchema *schema, guint32 n_rows, GList *columns, GError **error); GArrowRecordBatch *
i * * garrow_record_batch_equal (GArrowRecordBatch *record_batch, GArrowRecordBatch *other_record_batch); gboolean
i * * c garrow_record_batch_equal_metadata (GArrowRecordBatch *record_batch, GArrowRecordBatch *other_record_batch, gboolean check_metadata); gboolean
* * garrow_record_batch_get_schema (GArrowRecordBatch *record_batch); GArrowSchema *
* * i garrow_record_batch_get_column_data (GArrowRecordBatch *record_batch, gint i); GArrowArray *
* * i garrow_record_batch_get_column_name (GArrowRecordBatch *record_batch, gint i); const gchar *
i * garrow_record_batch_get_n_columns (GArrowRecordBatch *record_batch); guint
x * garrow_record_batch_get_n_rows (GArrowRecordBatch *record_batch); gint64
* * x x garrow_record_batch_slice (GArrowRecordBatch *record_batch, gint64 offset, gint64 length); GArrowRecordBatch *
* * * garrow_record_batch_to_string (GArrowRecordBatch *record_batch, GError **error); gchar *
* * i * * * garrow_record_batch_add_column (GArrowRecordBatch *record_batch, guint i, GArrowField *field, GArrowArray *column, GError **error); GArrowRecordBatch *
* * i * garrow_record_batch_remove_column (GArrowRecordBatch *record_batch, guint i, GError **error); GArrowRecordBatch *
* * * * garrow_record_batch_serialize (GArrowRecordBatch *record_batch, GArrowWriteOptions *options, GError **error); GArrowBuffer *
n * garrow_record_batch_iterator_finalize (GObject *object); static void
n * i * * garrow_record_batch_iterator_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
n * garrow_record_batch_iterator_init (GArrowRecordBatchIterator *object); static void
n * garrow_record_batch_iterator_class_init (GArrowRecordBatchIteratorClass *klass); static void
* * garrow_record_batch_iterator_new (GList *record_batches); GArrowRecordBatchIterator *
* * * garrow_record_batch_iterator_next (GArrowRecordBatchIterator *iterator, GError **error); GArrowRecordBatch *
i * * garrow_record_batch_iterator_equal (GArrowRecordBatchIterator *iterator, GArrowRecordBatchIterator *other_iterator); gboolean
* * * garrow_record_batch_iterator_to_list (GArrowRecordBatchIterator *iterator, GError **error); GList*
* * garrow_record_batch_new_raw (std::shared_ptr<arrow::RecordBatch> *arrow_record_batch); ArrowRecordBatch *
* * garrow_record_batch_get_raw (GArrowRecordBatch *record_batch); std::shared_ptr<arrow::RecordBatch>
* * garrow_record_batch_iterator_new_raw (arrow::RecordBatchIterator *arrow_iterator); GArrowRecordBatchIterator *
* * garrow_record_batch_iterator_get_raw (GArrowRecordBatchIterator *iterator); arrow::RecordBatchIterator *
)
NB. =========================================================
NB. Chunked Array
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowChunkedArray.html
chunkedArrayBindings =: lib 0 : 0
n * garrow_chunked_array_finalize (GObject *object); static void
n * i * * garrow_chunked_array_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
n * i * * garrow_chunked_array_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
n * garrow_chunked_array_init (GArrowChunkedArray *object); static void
n * garrow_chunked_array_class_init (GArrowChunkedArrayClass *klass); static void
* * garrow_chunked_array_new (GList *chunks); GArrowChunkedArray *
i * * garrow_chunked_array_equal (GArrowChunkedArray *chunked_array, GArrowChunkedArray *other_chunked_array); gboolean
* * garrow_chunked_array_get_value_data_type (GArrowChunkedArray *chunked_array); GArrowDataType *
i * garrow_chunked_array_get_value_type (GArrowChunkedArray *chunked_array); GArrowType
x * garrow_chunked_array_get_length (GArrowChunkedArray *chunked_array); guint64
x * garrow_chunked_array_get_n_rows (GArrowChunkedArray *chunked_array); guint64
x * garrow_chunked_array_get_n_nulls (GArrowChunkedArray *chunked_array); guint64
x * garrow_chunked_array_get_n_chunks (GArrowChunkedArray *chunked_array); guint
* * i garrow_chunked_array_get_chunk (GArrowChunkedArray *chunked_array, guint i); GArrowArray *
* * garrow_chunked_array_get_chunks (GArrowChunkedArray *chunked_array); GList *
* * x x garrow_chunked_array_slice (GArrowChunkedArray *chunked_array, guint64 offset, guint64 length); GArrowChunkedArray *
* * * garrow_chunked_array_to_string (GArrowChunkedArray *chunked_array, GError **error); gchar *
* * * garrow_chunked_array_combine (GArrowChunkedArray *chunked_array, GError **error); GArrowArray *
* * garrow_chunked_array_new_raw (std::shared_ptr<arrow::ChunkedArray> *arrow_chunked_array); ArrowChunkedArray *
* * garrow_chunked_array_get_raw (GArrowChunkedArray *chunked_array); std::shared_ptr<arrow::ChunkedArray>
)
NB. =========================================================
NB. Table Builder
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/table-builder-classes.html
NB. =========================================================
tableBuilderBindings =: lib 0 : 0
ADD TYPES
garrow_record_batch_builder_finalize(GObject *object); static void
garrow_record_batch_builder_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
garrow_record_batch_builder_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
garrow_record_batch_builder_init(GArrowRecordBatchBuilder *builder); static void
garrow_record_batch_builder_class_init(GArrowRecordBatchBuilderClass *klass); static void
garrow_record_batch_builder_new(GArrowSchema *schema, GError **error); GArrowRecordBatchBuilder *
garrow_record_batch_builder_get_initial_capacity(GArrowRecordBatchBuilder *builder); gint64
garrow_record_batch_builder_set_initial_capacity(GArrowRecordBatchBuilder *builder, gint64 capacity); void
garrow_record_batch_builder_get_schema(GArrowRecordBatchBuilder *builder); GArrowSchema *
garrow_record_batch_builder_get_n_fields(GArrowRecordBatchBuilder *builder); gint
garrow_record_batch_builder_get_n_columns(GArrowRecordBatchBuilder *builder); gint
garrow_record_batch_builder_get_field(GArrowRecordBatchBuilder *builder, gint i); GArrowArrayBuilder *
garrow_record_batch_builder_get_column_builder(GArrowRecordBatchBuilder *builder, gint i); GArrowArrayBuilder *
garrow_record_batch_builder_flush(GArrowRecordBatchBuilder *builder , GError **error); GArrowRecordBatch *
garrow_record_batch_builder_new_raw(arrow::RecordBatchBuilder *arrow_builder); ArrowRecordBatchBuilder *
garrow_record_batch_builder_get_raw(GArrowRecordBatchBuilder *builder); arrow::RecordBatchBuilder *
)
NB. =========================================================
NB. Tensor
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/GArrowTensor.html
NB. =========================================================
tensorBindings =: lib 0 : 0
ADD TYPES
garrow_tensor_dispose(GObject *object); static void
garrow_tensor_finalize(GObject *object); static void
garrow_tensor_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
garrow_tensor_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static void
garrow_tensor_init(GArrowTensor *object); static void
garrow_tensor_class_init(GArrowTensorClass *klass); static void
garrow_tensor_new(GArrowDataType *data_type, GArrowBuffer *data, gint64 *shape, gsize n_dimensions, gint64 *strides, gsize n_strides, gchar **dimension_names, gsize n_dimension_names); GArrowTensor *
garrow_tensor_equal(GArrowTensor *tensor, GArrowTensor *other_tensor); gboolean
garrow_tensor_get_value_data_type(GArrowTensor *tensor); GArrowDataType *
garrow_tensor_get_value_type(GArrowTensor *tensor); GArrowType
garrow_tensor_get_buffer(GArrowTensor *tensor); GArrowBuffer *
garrow_tensor_get_shape(GArrowTensor *tensor, gint *n_dimensions); gint64 *
garrow_tensor_get_strides(GArrowTensor *tensor, gint *n_strides); gint64 *
garrow_tensor_get_n_dimensions(GArrowTensor *tensor); gint
garrow_tensor_get_dimension_name(GArrowTensor *tensor, gint i); const gchar *
garrow_tensor_get_size(GArrowTensor *tensor); gint64
garrow_tensor_is_mutable(GArrowTensor *tensor); gboolean
garrow_tensor_is_contiguous(GArrowTensor *tensor); gboolean
garrow_tensor_is_row_major(GArrowTensor *tensor); gboolean
garrow_tensor_is_column_major(GArrowTensor *tensor); gboolean
garrow_tensor_new_raw(std::shared_ptr<arrow::Tensor> *arrow_tensor); ArrowTensor *
garrow_tensor_new_raw_buffer(std::shared_ptr<arrow::Tensor> *arrow_tensor, GArrowBuffer *buffer); GArrowTensor *
garrow_tensor_get_raw(GArrowTensor *tensor); std::shared_ptr<arrow::Tensor>
)
NB. =========================================================
NB. Decimal
NB. https://arrow.apache.org/docs/c_glib/arrow-glib/decimal.html
NB. =========================================================
decimalBindings =: lib 0 : 0
ADD TYPES
garrow_decimal_new_string(const gchar *data); garrowType *
garrow_decimal_new_integer(const gint64 data); garrowType *
garrow_decimal_copy(typename DecimalConverter<Decimal>, garrowType *decimal); garrowType *
garrow_decimal_equal(typename DecimalConverter<Decimal>, garrowType *decimal, typename DecimalConverter<Decimal>:, garrowType *other_decimal); gboolean
garrow_decimal_not_equal(typename DecimalConverter<Decimal>:,garrowType *decimal, typename DecimalConverter<Decimal>:,garrowType *other_decimal); gboolean
garrow_decimal_less_than(typename DecimalConverter<Decimal>:,garrowType *decimal, typename DecimalConverter<Decimal>:,garrowType *other_decimal); gboolean
garrow_decimal_less_than_or_equal(typename DecimalConverter<Decimal>:,garrowType *decimal , typename DecimalConverter<Decimal>:,garrowType *other_decimal); gboolean
garrow_decimal_greater_than(typename DecimalConverter<Decimal>:,garrowType *decimal, typename DecimalConverter<Decimal>:,garrowType *other_decimal); gboolean
garrow_decimal_greater_than_or_equal(typename DecimalConverter<Decimal>:,garrowType *decimal, typename DecimalConverter<Decimal>:,garrowType *other_decimal); gboolean
garrow_decimal_to_string_scale(typename DecimalConverter<Decimal>:,garrowType *decimal, gint32 scale); gchar *
garrow_decimal_to_string(typename DecimalConverter<Decimal>:,garrowType *decimal); gchar *
garrow_decimal_to_bytes(typename DecimalConverter<Decimal>:,garrowType *decimal); GBytes *
garrow_decimal_abs(typename DecimalConverter<Decimal>:,garrowType *decimal); void
garrow_decimal_negate(typename DecimalConverter<Decimal>:,garrowType *decimal); void
garrow_decimal_plus(typename DecimalConverter<Decimal>:,garrowType *left, typename DecimalConverter<Decimal>:; garrowType *
garrow_decimal_minus(typename DecimalConverter<Decimal>:,garrowType *left, typename DecimalConverter<Decimal>:; garrowType *
garrow_decimal_multiply(typename DecimalConverter<Decimal>:,garrowType *left, typename DecimalConverter<Decimal>:; garrowType *
garrow_decimal_divide(typename DecimalConverter<Decimal>:,garrowType *left, typename DecimalConverter<Decimal>:; garrowType *
garrow_decimal_rescale(typename DecimalConverter<Decimal>:,garrowType *decimal, gint32 original_scale, gint32 new_scale, GError **error, const gchar *tag); garrowType *
garrow_decimal128_finalize(GObject *object); static void
garrow_decimal128_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void
garrow_decimal128_init(GArrowDecimal128 *object); static void
garrow_decimal128_class_init(GArrowDecimal128Class *klass); static void
garrow_decimal128_new_string(const gchar *data); GArrowDecimal128 *
garrow_decimal128_new_integer(const gint64 data); GArrowDecimal128 *
garrow_decimal128_copy(GArrowDecimal128 *decimal); GArrowDecimal128 *
garrow_decimal128_equal(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_not_equal(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_less_than(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_less_than_or_equal(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_greater_than(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_greater_than_or_equal(GArrowDecimal128 *decimal, GArrowDecimal128 *other_decimal); gboolean
garrow_decimal128_to_string_scale(GArrowDecimal128 *decimal, gint32 scale); gchar *
garrow_decimal128_to_string(GArrowDecimal128 *decimal); gchar *
garrow_decimal128_to_bytes(GArrowDecimal128 *decimal); GBytes *
garrow_decimal128_abs(GArrowDecimal128 *decimal); void