![]() |
![]() |
![]() |
![]() |
gpointer | scan-context | Write / Construct Only |
gboolean | use-threads | Read / Write |
gint64 | batch-size | Read / Write |
gpointer | scan-options | Write / Construct Only |
GADScanContext * | context | Read / Write / Construct Only |
GADScanOptions * | options | Read / Write / Construct Only |
gpointer | scan-task | Write / Construct Only |
#define | GAD_TYPE_SCAN_CONTEXT |
struct | GADScanContextClass |
#define | GAD_TYPE_SCAN_OPTIONS |
struct | GADScanOptionsClass |
#define | GAD_TYPE_SCAN_TASK |
struct | GADScanTaskClass |
#define | GAD_TYPE_IN_MEMORY_SCAN_TASK |
struct | GADInMemoryScanTaskClass |
GADInMemoryScanTask | |
GADScanContext | |
GADScanOptions | |
GADScanTask |
GObject ├── GADScanContext ├── GADScanOptions ╰── GADScanTask ├── GADInMemoryScanTask ╰── GADInMemoryScanTask
GADScanContext is a class for a scan context.
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_options_replace_schema (GADScanOptions *scan_options
,GArrowSchema *schema
);
Since: 1.0.0
GADScanOptions *
gad_scan_task_get_options (GADScanTask *scan_task
);
Since: 1.0.0
GADScanContext *
gad_scan_task_get_context (GADScanTask *scan_task
);
Since: 1.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
,GADScanContext *context
);
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 |
||
context |
Since: 1.0.0
“scan-context”
property“scan-context” gpointer
The raw std::shared<arrow::dataset::ScanContext> *.
Owner: GADScanContext
Flags: Write / Construct Only
“use-threads”
property“use-threads” gboolean
Indicate if the Scanner should make use of a ThreadPool.
Owner: GADScanContext
Flags: Read / Write
Default value: FALSE
Since: 1.0.0
“batch-size”
property“batch-size” gint64
Maximum row count for scanned batches.
Owner: GADScanOptions
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> *.
Owner: GADScanOptions
Flags: Write / Construct Only
“context”
property“context” GADScanContext *
The context of the scan task.
Owner: GADScanTask
Flags: Read / Write / Construct Only
Since: 1.0.0
“options”
property“options” GADScanOptions *
The options of the scan task.
Owner: GADScanTask
Flags: Read / Write / Construct Only
Since: 1.0.0
“scan-task”
property“scan-task” gpointer
The raw std::shared<arrow::dataset::ScanTask> *.
Owner: GADScanTask
Flags: Write / Construct Only