GArrowChunkedArray is a class for chunked array. Chunked array makes a list of GArrowArrays one logical large array.
GArrowChunkedArray * garrow_chunked_array_new (GList *chunks,GError **error);
GArrowChunkedArray * garrow_chunked_array_new_empty (GArrowDataType *data_type,GError **error);
Since: 11.0.0
gboolean garrow_chunked_array_equal (GArrowChunkedArray *chunked_array,GArrowChunkedArray *other_chunked_array);
Since: 0.4.0
GArrowDataType *
garrow_chunked_array_get_value_data_type
(GArrowChunkedArray *chunked_array);
Since: 0.9.0
GArrowType
garrow_chunked_array_get_value_type (GArrowChunkedArray *chunked_array);
Since: 0.9.0
guint64
garrow_chunked_array_get_length (GArrowChunkedArray *chunked_array);
garrow_chunked_array_get_length has been deprecated since version 0.15.0 and should not be used in newly-written code.
Use garrow_chunked_array_get_n_rows() instead.
guint64
garrow_chunked_array_get_n_rows (GArrowChunkedArray *chunked_array);
Since: 0.15.0
guint64
garrow_chunked_array_get_n_nulls (GArrowChunkedArray *chunked_array);
guint
garrow_chunked_array_get_n_chunks (GArrowChunkedArray *chunked_array);
GArrowArray * garrow_chunked_array_get_chunk (GArrowChunkedArray *chunked_array,guint i);
GList *
garrow_chunked_array_get_chunks (GArrowChunkedArray *chunked_array);
GArrowChunkedArray * garrow_chunked_array_slice (GArrowChunkedArray *chunked_array,guint64 offset,guint64 length);
chunked_array |
||
offset |
The offset of sub GArrowChunkedArray. |
|
length |
The length of sub GArrowChunkedArray. |
The sub GArrowChunkedArray. It covers only from
offset to offset + length range. The sub GArrowChunkedArray shares
values with the base GArrowChunkedArray.
[transfer full]
gchar * garrow_chunked_array_to_string (GArrowChunkedArray *chunked_array,GError **error);
The formatted chunked array content or NULL on error.
It should be freed with g_free() when no longer needed.
[nullable]
Since: 0.11.0
GArrowArray * garrow_chunked_array_combine (GArrowChunkedArray *chunked_array,GError **error);
Since: 4.0.0