| Top |
| GArrowCastOptions * | garrow_cast_options_new () |
| GArrowCountOptions * | garrow_count_options_new () |
| GArrowArray * | garrow_array_cast () |
| GArrowArray * | garrow_array_unique () |
| GArrowDictionaryArray * | garrow_array_dictionary_encode () |
| gint64 | garrow_array_count () |
| GArrowStructArray * | garrow_array_count_values () |
| GArrowBooleanArray * | garrow_boolean_array_invert () |
| GArrowBooleanArray * | garrow_boolean_array_and () |
| GArrowBooleanArray * | garrow_boolean_array_or () |
| GArrowBooleanArray * | garrow_boolean_array_xor () |
| gdouble | garrow_numeric_array_mean () |
| gint64 | garrow_int8_array_sum () |
| guint64 | garrow_uint8_array_sum () |
| gint64 | garrow_int16_array_sum () |
| guint64 | garrow_uint16_array_sum () |
| gint64 | garrow_int32_array_sum () |
| guint64 | garrow_uint32_array_sum () |
| gint64 | garrow_int64_array_sum () |
| guint64 | garrow_uint64_array_sum () |
| gdouble | garrow_float_array_sum () |
| gdouble | garrow_double_array_sum () |
| gboolean | allow-float-truncate | Read / Write |
| gboolean | allow-int-overflow | Read / Write |
| gboolean | allow-invalid-utf8 | Read / Write |
| gboolean | allow-time-truncate | Read / Write |
| GArrowCountMode | mode | Read / Write |
| #define | GARROW_TYPE_CAST_OPTIONS |
| struct | GArrowCastOptionsClass |
| enum | GArrowCountMode |
| #define | GARROW_TYPE_COUNT_OPTIONS |
| struct | GArrowCountOptionsClass |
| GArrowCastOptions | |
| GArrowCountOptions |
GArrowCastOptions is a class to customize garrow_array_cast().
GArrowCountOptions is a class to customize garrow_array_count().
There are many functions to compute data on an array.
GArrowArray * garrow_array_cast (GArrowArray *array,GArrowDataType *target_data_type,GArrowCastOptions *options,GError **error);
array |
A GArrowArray. |
|
target_data_type |
A GArrowDataType of cast target data. |
|
options |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
Since: 0.7.0
GArrowArray * garrow_array_unique (GArrowArray *array,GError **error);
Since: 0.8.0
GArrowDictionaryArray * garrow_array_dictionary_encode (GArrowArray *array,GError **error);
A newly created GArrowDictionaryArray for the array
on success,
NULL on error.
[nullable][transfer full]
Since: 0.8.0
gint64 garrow_array_count (GArrowArray *array,GArrowCountOptions *options,GError **error);
array |
A GArrowArray. |
|
options |
[nullable] | |
error |
Return location for a GError or |
[nullable] |
The number of target values on success. If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
GArrowStructArray * garrow_array_count_values (GArrowArray *array,GError **error);
A GArrowStructArray of {input type "values", int64_t "counts"}
on success, NULL on error.
[nullable][transfer full]
Since: 0.13.0
GArrowBooleanArray * garrow_boolean_array_invert (GArrowBooleanArray *array,GError **error);
The element-wise inverted boolean array.
It should be freed with g_object_unref() when no longer needed.
[transfer full]
Since: 0.13.0
GArrowBooleanArray * garrow_boolean_array_and (GArrowBooleanArray *left,GArrowBooleanArray *right,GError **error);
left |
A left hand side GArrowBooleanArray. |
|
right |
A right hand side GArrowBooleanArray. |
|
error |
Return location for a GError or |
[nullable] |
The element-wise AND operated boolean array.
It should be freed with g_object_unref() when no longer needed.
[transfer full]
Since: 0.13.0
GArrowBooleanArray * garrow_boolean_array_or (GArrowBooleanArray *left,GArrowBooleanArray *right,GError **error);
left |
A left hand side GArrowBooleanArray. |
|
right |
A right hand side GArrowBooleanArray. |
|
error |
Return location for a GError or |
[nullable] |
The element-wise OR operated boolean array.
It should be freed with g_object_unref() when no longer needed.
[transfer full]
Since: 0.13.0
GArrowBooleanArray * garrow_boolean_array_xor (GArrowBooleanArray *left,GArrowBooleanArray *right,GError **error);
left |
A left hand side GArrowBooleanArray. |
|
right |
A right hand side GArrowBooleanArray. |
|
error |
Return location for a GError or |
[nullable] |
The element-wise XOR operated boolean array.
It should be freed with g_object_unref() when no longer needed.
[transfer full]
Since: 0.13.0
gdouble garrow_numeric_array_mean (GArrowNumericArray *array,GError **error);
Since: 0.13.0
gint64 garrow_int8_array_sum (GArrowInt8Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
guint64 garrow_uint8_array_sum (GArrowUInt8Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
gint64 garrow_int16_array_sum (GArrowInt16Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
guint64 garrow_uint16_array_sum (GArrowUInt16Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
gint64 garrow_int32_array_sum (GArrowInt32Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
guint64 garrow_uint32_array_sum (GArrowUInt32Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
gint64 garrow_int64_array_sum (GArrowInt64Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
guint64 garrow_uint64_array_sum (GArrowUInt64Array *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
gdouble garrow_float_array_sum (GArrowFloatArray *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
gdouble garrow_double_array_sum (GArrowDoubleArray *array,GError **error);
The value of the computed sum on success, If an error is occurred, the returned value is untrustful value.
Since: 0.13.0
“allow-float-truncate” property “allow-float-truncate” gboolean
Whether truncating float value is allowed or not.
Flags: Read / Write
Default value: FALSE
Since: 0.12.0
“allow-int-overflow” property “allow-int-overflow” gboolean
Whether integer overflow is allowed or not.
Flags: Read / Write
Default value: FALSE
Since: 0.7.0
“allow-invalid-utf8” property “allow-invalid-utf8” gboolean
Whether invalid UTF-8 string value is allowed or not.
Flags: Read / Write
Default value: FALSE
Since: 0.13.0
“allow-time-truncate” property “allow-time-truncate” gboolean
Whether truncating time value is allowed or not.
Flags: Read / Write
Default value: FALSE
Since: 0.8.0
“mode” property“mode” GArrowCountMode
How to count values.
Flags: Read / Write
Default value: GARROW_COUNT_ALL
Since: 0.13.0