Top | ![]() |
![]() |
![]() |
![]() |
gint | max-recursion-depth | Read / Write |
gboolean | use-threads | Read / Write |
gint | alignment | Read / Write |
gboolean | allow-64bit | Read / Write |
GArrowCodec * | codec | Read / Write |
gint | max-recursion-depth | Read / Write |
gboolean | use-threads | Read / Write |
gboolean | write-legacy-ipc-format | Read / Write |
#define | GARROW_TYPE_READ_OPTIONS |
struct | GArrowReadOptionsClass |
#define | GARROW_TYPE_WRITE_OPTIONS |
struct | GArrowWriteOptionsClass |
GArrowReadOptions | |
GArrowWriteOptions |
GArrowReadOptions provides options for reading data.
GArrowWriteOptions provides options for writing data.
int * garrow_read_options_get_included_fields (GArrowReadOptions *options
,gsize *n_fields
);
Top-level schema fields to include when deserializing RecordBatch. If empty, return all deserialized fields.
It should be freed with g_free()
when no longer needed.
[array length=n_fields][transfer full]
Since: 1.0.0
void garrow_read_options_set_included_fields (GArrowReadOptions *options
,int *fields
,gsize n_fields
);
options |
||
fields |
Top-level schema fields to include when deserializing RecordBatch. If empty, return all deserialized fields. |
[array length=n_fields] |
n_fields |
The number of included fields. |
Since: 1.0.0
“max-recursion-depth”
property “max-recursion-depth” gint
The maximum permitted schema nesting depth.
Flags: Read / Write
Allowed values: [0,64]
Default value: 64
Since: 1.0.0
“use-threads”
property “use-threads” gboolean
Whether to use the global CPU thread pool.
Flags: Read / Write
Default value: TRUE
Since: 1.0.0
“alignment”
property “alignment” gint
Write padding after memory buffers to this multiple of bytes. Generally 8 or 64.
Flags: Read / Write
Allowed values: >= 0
Default value: 8
Since: 1.0.0
“allow-64bit”
property “allow-64bit” gboolean
Whether to allow field lengths that don't fit in a signed 32-bit int. Some implementations may not be able to parse such streams.
Flags: Read / Write
Default value: FALSE
Since: 1.0.0
“codec”
property“codec” GArrowCodec *
Codec to use for compressing and decompressing record batch body buffers. This is not part of the Arrow IPC protocol and only for internal use (e.g. Feather files).
May only be UNCOMPRESSED, LZ4_FRAME and ZSTD.
Flags: Read / Write
Since: 2.0.0
“max-recursion-depth”
property “max-recursion-depth” gint
The maximum permitted schema nesting depth.
Flags: Read / Write
Allowed values: [0,64]
Default value: 64
Since: 1.0.0
“use-threads”
property “use-threads” gboolean
Whether to use the global CPU thread pool.
Flags: Read / Write
Default value: TRUE
Since: 1.0.0
“write-legacy-ipc-format”
property “write-legacy-ipc-format” gboolean
Whether to write the pre-0.15.0 encapsulated IPC message format consisting of a 4-byte prefix instead of 8 byte.
Flags: Read / Write
Default value: FALSE
Since: 1.0.0