Top | ![]() |
![]() |
![]() |
![]() |
GADScanOptions * | gad_scan_options_new () |
GArrowSchema * | gad_scan_options_get_schema () |
GADScanOptions * | gad_scan_task_get_options () |
GADFragment * | gad_scan_task_get_fragment () |
GArrowRecordBatchIterator * | gad_scan_task_execute () |
GADInMemoryScanTask * | gad_in_memory_scan_task_new () |
gint64 | batch-size | Read / Write |
gpointer | scan-options | Write / Construct Only |
gboolean | use-threads | Read / Write |
GADFragment * | fragment | Read / Write / Construct Only |
GADScanOptions * | options | Read / Write / Construct Only |
gpointer | scan-task | Write / Construct Only |
#define | GAD_TYPE_SCAN_OPTIONS |
struct | GADScanOptionsClass |
#define | GAD_TYPE_SCAN_TASK |
struct | GADScanTaskClass |
#define | GAD_TYPE_IN_MEMORY_SCAN_TASK |
struct | GADInMemoryScanTaskClass |
GADInMemoryScanTask | |
GADScanOptions | |
GADScanTask |
GObject ├── GADScanOptions ╰── GADScanTask ├── GADInMemoryScanTask ╰── GADInMemoryScanTask
GADScanOptions is a class for a set of scan options.
GADScanTask is an abstract class for a scan task.
GADInMemoryScanTask is a class for a scan task of record batches.
GArrowSchema *
gad_scan_options_get_schema (GADScanOptions *scan_options
);
Since: 1.0.0
GADScanOptions *
gad_scan_task_get_options (GADScanTask *scan_task
);
Since: 1.0.0
GADFragment *
gad_scan_task_get_fragment (GADScanTask *scan_task
);
Since: 4.0.0
GArrowRecordBatchIterator * gad_scan_task_execute (GADScanTask *scan_task
,GError **error
);
Since: 1.0.0
GADInMemoryScanTask * gad_in_memory_scan_task_new (GArrowRecordBatch **record_batches
,gsize n_record_batches
,GADScanOptions *options
,GADInMemoryFragment *fragment
);
record_batches |
(element-type GArrowRecordBatch): The record batches of the table. |
[array length=n_record_batches] |
n_record_batches |
The number of record batches. |
|
options |
||
fragment |
Since: 1.0.0
#define GAD_TYPE_IN_MEMORY_SCAN_TASK (gad_in_memory_scan_task_get_type())
“batch-size”
property“batch-size” gint64
Maximum row count for scanned batches.
Flags: Read / Write
Allowed values: >= 0
Default value: 1048576
Since: 1.0.0
“scan-options”
property“scan-options” gpointer
The raw std::shared<arrow::dataset::ScanOptions> *.
Flags: Write / Construct Only
“use-threads”
property“use-threads” gboolean
Indicate if the Scanner should make use of a ThreadPool.
Flags: Read / Write
Default value: FALSE
Since: 4.0.0
“fragment”
property“fragment” GADFragment *
The fragment of the scan task.
Flags: Read / Write / Construct Only
Since: 4.0.0
“options”
property“options” GADScanOptions *
The options of the scan task.
Flags: Read / Write / Construct Only
Since: 1.0.0
“scan-task”
property“scan-task” gpointer
The raw std::shared<arrow::dataset::ScanTask> *.
Flags: Write / Construct Only