Top |
gdouble | absolute-tolerance | Read / Write |
gboolean | approx | Read / Write |
gboolean | nans-equal | Read / Write |
GObject ├── GArrowArray │ ├── GArrowLargeBinaryArray │ │ ╰── GArrowLargeStringArray │ ├── GArrowNullArray │ ├── GArrowPrimitiveArray │ │ ├── GArrowBooleanArray │ │ ├── GArrowNumericArray │ │ ├── GArrowDayTimeIntervalArray │ │ ├── GArrowFixedSizeBinaryArray │ │ ├── GArrowMonthDayNanoIntervalArray │ │ ├── GArrowFixedSizeBinaryArray │ │ │ ├── GArrowDecimal128Array │ │ │ ├── GArrowDecimal256Array │ │ │ ├── GArrowDecimal128Array │ │ │ ╰── GArrowDecimal256Array │ │ ├── GArrowDayTimeIntervalArray │ │ ├── GArrowMonthDayNanoIntervalArray │ │ ├── GArrowNumericArray │ │ │ ├── GArrowDate32Array │ │ │ ├── GArrowDate64Array │ │ │ ├── GArrowDoubleArray │ │ │ ├── GArrowFloatArray │ │ │ ├── GArrowInt16Array │ │ │ ├── GArrowInt32Array │ │ │ ├── GArrowInt64Array │ │ │ ├── GArrowInt8Array │ │ │ ├── GArrowMonthIntervalArray │ │ │ ├── GArrowTime32Array │ │ │ ├── GArrowTime64Array │ │ │ ├── GArrowTimestampArray │ │ │ ├── GArrowUInt16Array │ │ │ ├── GArrowUInt32Array │ │ │ ├── GArrowUInt64Array │ │ │ ├── GArrowUInt8Array │ │ │ ├── GArrowDate32Array │ │ │ ├── GArrowDate64Array │ │ │ ├── GArrowDoubleArray │ │ │ ├── GArrowFloatArray │ │ │ ├── GArrowInt16Array │ │ │ ├── GArrowInt32Array │ │ │ ├── GArrowInt64Array │ │ │ ├── GArrowInt8Array │ │ │ ╰── GArrowMonthIntervalArray │ │ ╰── GArrowBooleanArray │ ╰── GArrowBinaryArray │ ╰── GArrowStringArray ╰── GArrowEqualOptions
GArrowArray is a base class for all array classes such as GArrowBooleanArray.
All array classes are immutable. You need to use binary data or array builder to create a new array except GArrowNullArray. If you have binary data that uses Arrow format data, you can create a new array with the binary data as GArrowBuffer object. If you don't have binary data, you can use array builder class such as GArrowBooleanArrayBuilder that creates Arrow format data internally and a new array from the data.
GArrowNullArray is a class for null array. It can store zero or more null values. You need to specify an array length to create a new array.
GArrowBooleanArray is a class for boolean array. It can store zero or more boolean data. If you don't have Arrow format data, you need to use GArrowBooleanArrayBuilder to create a new array.
GArrowInt8Array is a class for 8-bit integer array. It can store zero or more 8-bit integer data. If you don't have Arrow format data, you need to use GArrowInt8ArrayBuilder to create a new array.
GArrowUInt8Array is a class for 8-bit unsigned integer array. It can store zero or more 8-bit unsigned integer data. If you don't have Arrow format data, you need to use GArrowUInt8ArrayBuilder to create a new array.
GArrowInt16Array is a class for 16-bit integer array. It can store zero or more 16-bit integer data. If you don't have Arrow format data, you need to use GArrowInt16ArrayBuilder to create a new array.
GArrowUInt16Array is a class for 16-bit unsigned integer array. It can store zero or more 16-bit unsigned integer data. If you don't have Arrow format data, you need to use GArrowUInt16ArrayBuilder to create a new array.
GArrowInt32Array is a class for 32-bit integer array. It can store zero or more 32-bit integer data. If you don't have Arrow format data, you need to use GArrowInt32ArrayBuilder to create a new array.
GArrowUInt32Array is a class for 32-bit unsigned integer array. It can store zero or more 32-bit unsigned integer data. If you don't have Arrow format data, you need to use GArrowUInt32ArrayBuilder to create a new array.
GArrowInt64Array is a class for 64-bit integer array. It can store zero or more 64-bit integer data. If you don't have Arrow format data, you need to use GArrowInt64ArrayBuilder to create a new array.
GArrowUInt64Array is a class for 64-bit unsigned integer array. It can store zero or more 64-bit unsigned integer data. If you don't have Arrow format data, you need to use GArrowUInt64ArrayBuilder to create a new array.
GArrowFloatArray is a class for 32-bit floating point array. It can store zero or more 32-bit floating data. If you don't have Arrow format data, you need to use GArrowFloatArrayBuilder to create a new array.
GArrowDoubleArray is a class for 64-bit floating point array. It can store zero or more 64-bit floating data. If you don't have Arrow format data, you need to use GArrowDoubleArrayBuilder to create a new array.
GArrowBinaryArray is a class for binary array. It can store zero or more binary data. If you don't have Arrow format data, you need to use GArrowBinaryArrayBuilder to create a new array.
GArrowLargeBinaryArray is a class for 64-bit offsets binary array. It can store zero or more binary data. If you don't have Arrow format data, you need to use GArrowLargeBinaryArrayBuilder to create a new array.
GArrowStringArray is a class for UTF-8 encoded string array. It can store zero or more UTF-8 encoded string data. If you don't have Arrow format data, you need to use GArrowStringArrayBuilder to create a new array.
GArrowLargeStringArray is a class for 64-bit offsets UTF-8 encoded string array. It can store zero or more UTF-8 encoded string data. If you don't have Arrow format data, you need to use GArrowLargeStringArrayBuilder to create a new array.
GArrowFixedSizeBinaryArray is a class for fixed size binary array. It can store zero or more fixed size binary data. If you don't have Arrow format data, you need to use GArrowFixedSizeBinaryArrayBuilder to create a new array.
GArrowDate32Array is a class for the number of days since UNIX epoch in 32-bit signed integer array. It can store zero or more date data. If you don't have Arrow format data, you need to use GArrowDate32ArrayBuilder to create a new array.
GArrowDate64Array is a class for the number of milliseconds since UNIX epoch in 64-bit signed integer array. It can store zero or more date data. If you don't have Arrow format data, you need to use GArrowDate64ArrayBuilder to create a new array.
GArrowTimestampArray is a class for the number of seconds/milliseconds/microseconds/nanoseconds since UNIX epoch in 64-bit signed integer array. It can store zero or more timestamp data. If you don't have Arrow format data, you need to use GArrowTimestampArrayBuilder to create a new array.
GArrowTime32Array is a class for the number of seconds or milliseconds since midnight in 32-bit signed integer array. It can store zero or more time data. If you don't have Arrow format data, you need to use GArrowTime32ArrayBuilder to create a new array.
GArrowTime64Array is a class for the number of microseconds or nanoseconds since midnight in 64-bit signed integer array. It can store zero or more time data. If you don't have Arrow format data, you need to use GArrowTime64ArrayBuilder to create a new array.
GArrowMonthIntervalArray is a class for the month intarval array. It can store zero or more date data. If you don't have Arrow format data, you need to use GArrowMonthIntervalArrayBuilder to create a new array.
GArrowDayTimeIntervalArray is a class for the day time intarval array. It can store zero or more date data. If you don't have Arrow format data, you need to use GArrowDayTimeIntervalArrayBuilder to create a new array.
GArrowMonthDayNanoIntervalArray is a class for the month day nano intarval array. It can store zero or more date data. If you don't have Arrow format data, you need to use GArrowMonthDayNanoIntervalArray to create a new array.
GArrowDecimal128Array is a class for 128-bit decimal array. It can store zero or more 128-bit decimal data. If you don't have Arrow format data, you need to use GArrowDecimal128ArrayBuilder to create a new array.
GArrowDecimal256Array is a class for 256-bit decimal array. It can store zero or more 256-bit decimal data. If you don't have Arrow format data, you need to use GArrowDecimal256ArrayBuilder to create a new array.
GArrowExtensionArray is a base class for array of user-defined extension types.
gboolean
garrow_equal_options_is_approx (GArrowEqualOptions *options
);
Since: 5.0.0
GArrowArray * garrow_array_import (gpointer c_abi_array
,GArrowDataType *data_type
,GError **error
);
c_abi_array |
A |
[not nullable] |
data_type |
A GArrowDataType of the C ABI array. |
|
error |
[nullable] |
An imported GArrowArray
on success, NULL
on error.
You don't need to release the passed struct ArrowArray *
,
even if this function reports an error.
[transfer full][nullable]
Since: 6.0.0
gboolean garrow_array_export (GArrowArray *array
,gpointer *c_abi_array
,gpointer *c_abi_schema
,GError **error
);
array |
A GArrowArray. |
|
c_abi_array |
Return location for a |
[out] |
c_abi_schema |
Return location for a
|
[out][nullable] |
error |
[nullable] |
Since: 6.0.0
gboolean garrow_array_equal (GArrowArray *array
,GArrowArray *other_array
);
Since: 0.4.0
gboolean garrow_array_equal_options (GArrowArray *array
,GArrowArray *other_array
,GArrowEqualOptions *options
);
array |
A GArrowArray. |
|
other_array |
A GArrowArray to be compared. |
|
options |
A GArrowEqualOptions to custom how to compare. |
[nullable] |
Since: 5.0.0
gboolean garrow_array_equal_approx (GArrowArray *array
,GArrowArray *other_array
);
Since: 0.4.0
gboolean garrow_array_equal_range (GArrowArray *array
,gint64 start_index
,GArrowArray *other_array
,gint64 other_start_index
,gint64 end_index
,GArrowEqualOptions *options
);
array |
A GArrowArray. |
|
start_index |
The start index of |
|
other_array |
A GArrowArray to be compared. |
|
other_start_index |
The start index of |
|
end_index |
The end index of |
|
options |
A GArrowEqualOptions to custom how to compare. |
[nullable] |
Since: 0.4.0
gboolean garrow_array_is_valid (GArrowArray *array
,gint64 i
);
Since: 0.8.0
GArrowBuffer *
garrow_array_get_null_bitmap (GArrowArray *array
);
The bitmap that indicates null
value indices for the array as GArrowBuffer or NULL
when
garrow_array_get_n_nulls()
returns 0.
[transfer full][nullable]
Since: 0.3.0
GArrowDataType *
garrow_array_get_value_data_type (GArrowArray *array
);
Since: 0.3.0
GArrowType
garrow_array_get_value_type (GArrowArray *array
);
Since: 0.3.0
GArrowArray * garrow_array_slice (GArrowArray *array
,gint64 offset
,gint64 length
);
gchar * garrow_array_to_string (GArrowArray *array
,GError **error
);
The formatted array content or NULL
on error.
It should be freed with g_free()
when no longer needed.
[nullable]
Since: 0.4.0
GArrowArray * garrow_array_view (GArrowArray *array
,GArrowDataType *return_type
,GError **error
);
A zero-copy view of this array
with the given type. This method checks if the return_type
are
layout-compatible.
[nullable][transfer full]
Since: 0.15.0
gchar * garrow_array_diff_unified (GArrowArray *array
,GArrowArray *other_array
);
The string representation of
the difference between two arrays as unified format. If there is
no difference, the return value is NULL
.
It should be freed with g_free()
when no longer needed.
[nullable][transfer full]
Since: 0.15.0
GArrowArray * garrow_array_concatenate (GArrowArray *array
,GList *other_arrays
,GError **error
);
Since: 4.0.0
GArrowBuffer *
garrow_primitive_array_get_buffer (GArrowPrimitiveArray *array
);
garrow_primitive_array_get_buffer
has been deprecated since version 1.0.0 and should not be used in newly-written code.
Use garrow_primitive_array_get_data_buffer()
instead.
GArrowBuffer *
garrow_primitive_array_get_data_buffer
(GArrowPrimitiveArray *array
);
Since: 1.0.0
GArrowBooleanArray * garrow_boolean_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gboolean garrow_boolean_array_get_value (GArrowBooleanArray *array
,gint64 i
);
gboolean * garrow_boolean_array_get_values (GArrowBooleanArray *array
,gint64 *length
);
The raw boolean values.
It should be freed with g_free()
when no longer needed.
[array length=length][transfer full]
GArrowInt8Array * garrow_int8_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gint8 garrow_int8_array_get_value (GArrowInt8Array *array
,gint64 i
);
const gint8 * garrow_int8_array_get_values (GArrowInt8Array *array
,gint64 *length
);
GArrowUInt8Array * garrow_uint8_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
guint8 garrow_uint8_array_get_value (GArrowUInt8Array *array
,gint64 i
);
const guint8 * garrow_uint8_array_get_values (GArrowUInt8Array *array
,gint64 *length
);
GArrowInt16Array * garrow_int16_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gint16 garrow_int16_array_get_value (GArrowInt16Array *array
,gint64 i
);
const gint16 * garrow_int16_array_get_values (GArrowInt16Array *array
,gint64 *length
);
GArrowUInt16Array * garrow_uint16_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
guint16 garrow_uint16_array_get_value (GArrowUInt16Array *array
,gint64 i
);
const guint16 * garrow_uint16_array_get_values (GArrowUInt16Array *array
,gint64 *length
);
GArrowInt32Array * garrow_int32_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gint32 garrow_int32_array_get_value (GArrowInt32Array *array
,gint64 i
);
const gint32 * garrow_int32_array_get_values (GArrowInt32Array *array
,gint64 *length
);
GArrowUInt32Array * garrow_uint32_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
guint32 garrow_uint32_array_get_value (GArrowUInt32Array *array
,gint64 i
);
const guint32 * garrow_uint32_array_get_values (GArrowUInt32Array *array
,gint64 *length
);
GArrowInt64Array * garrow_int64_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gint64 garrow_int64_array_get_value (GArrowInt64Array *array
,gint64 i
);
const gint64 * garrow_int64_array_get_values (GArrowInt64Array *array
,gint64 *length
);
GArrowUInt64Array * garrow_uint64_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
guint64 garrow_uint64_array_get_value (GArrowUInt64Array *array
,gint64 i
);
const guint64 * garrow_uint64_array_get_values (GArrowUInt64Array *array
,gint64 *length
);
GArrowFloatArray * garrow_float_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gfloat garrow_float_array_get_value (GArrowFloatArray *array
,gint64 i
);
const gfloat * garrow_float_array_get_values (GArrowFloatArray *array
,gint64 *length
);
GArrowDoubleArray * garrow_double_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gdouble garrow_double_array_get_value (GArrowDoubleArray *array
,gint64 i
);
const gdouble * garrow_double_array_get_values (GArrowDoubleArray *array
,gint64 *length
);
GArrowBinaryArray * garrow_binary_array_new (gint64 length
,GArrowBuffer *value_offsets
,GArrowBuffer *value_data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
value_offsets |
The value offsets of |
|
value_data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
GBytes * garrow_binary_array_get_value (GArrowBinaryArray *array
,gint64 i
);
GArrowBuffer *
garrow_binary_array_get_buffer (GArrowBinaryArray *array
);
garrow_binary_array_get_buffer
has been deprecated since version 1.0.0 and should not be used in newly-written code.
Use garrow_binary_array_get_data_buffer()
instead.
GArrowBuffer *
garrow_binary_array_get_data_buffer (GArrowBinaryArray *array
);
Since: 1.0.0
GArrowBuffer *
garrow_binary_array_get_offsets_buffer
(GArrowBinaryArray *array
);
GArrowLargeBinaryArray * garrow_large_binary_array_new (gint64 length
,GArrowBuffer *value_offsets
,GArrowBuffer *value_data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
value_offsets |
The value offsets of |
|
value_data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.16.0
GBytes * garrow_large_binary_array_get_value (GArrowLargeBinaryArray *array
,gint64 i
);
Since: 0.16.0
GArrowBuffer *
garrow_large_binary_array_get_buffer (GArrowLargeBinaryArray *array
);
garrow_large_binary_array_get_buffer
has been deprecated since version 1.0.0 and should not be used in newly-written code.
Use garrow_large_binary_array_get_data_buffer()
instead.
Since: 0.16.0
GArrowBuffer *
garrow_large_binary_array_get_data_buffer
(GArrowLargeBinaryArray *array
);
Since: 1.0.0
GArrowBuffer *
garrow_large_binary_array_get_offsets_buffer
(GArrowLargeBinaryArray *array
);
Since: 0.16.0
GArrowStringArray * garrow_string_array_new (gint64 length
,GArrowBuffer *value_offsets
,GArrowBuffer *value_data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
value_offsets |
The value offsets of |
|
value_data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.4.0
gchar * garrow_string_array_get_string (GArrowStringArray *array
,gint64 i
);
GArrowLargeStringArray * garrow_large_string_array_new (gint64 length
,GArrowBuffer *value_offsets
,GArrowBuffer *value_data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
value_offsets |
The value offsets of |
|
value_data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.16.0
gchar * garrow_large_string_array_get_string (GArrowLargeStringArray *array
,gint64 i
);
Since: 0.16.0
GArrowDate32Array * garrow_date32_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.7.0
gint32 garrow_date32_array_get_value (GArrowDate32Array *array
,gint64 i
);
Since: 0.7.0
const gint32 * garrow_date32_array_get_values (GArrowDate32Array *array
,gint64 *length
);
Since: 0.7.0
GArrowDate64Array * garrow_date64_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.7.0
gint64 garrow_date64_array_get_value (GArrowDate64Array *array
,gint64 i
);
Since: 0.7.0
const gint64 * garrow_date64_array_get_values (GArrowDate64Array *array
,gint64 *length
);
Since: 0.7.0
GArrowTimestampArray * garrow_timestamp_array_new (GArrowTimestampDataType *data_type
,gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
data_type |
||
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.7.0
gint64 garrow_timestamp_array_get_value (GArrowTimestampArray *array
,gint64 i
);
Since: 0.7.0
const gint64 * garrow_timestamp_array_get_values (GArrowTimestampArray *array
,gint64 *length
);
Since: 0.7.0
GArrowTime32Array * garrow_time32_array_new (GArrowTime32DataType *data_type
,gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
data_type |
The GArrowTime32DataType. |
|
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.7.0
gint32 garrow_time32_array_get_value (GArrowTime32Array *array
,gint64 i
);
Since: 0.7.0
const gint32 * garrow_time32_array_get_values (GArrowTime32Array *array
,gint64 *length
);
Since: 0.7.0
GArrowTime64Array * garrow_time64_array_new (GArrowTime64DataType *data_type
,gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
data_type |
The GArrowTime64DataType. |
|
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 0.7.0
gint64 garrow_time64_array_get_value (GArrowTime64Array *array
,gint64 i
);
Since: 0.7.0
const gint64 * garrow_time64_array_get_values (GArrowTime64Array *array
,gint64 *length
);
Since: 0.7.0
GArrowMonthIntervalArray * garrow_month_interval_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 8.0.0
gint32 garrow_month_interval_array_get_value (GArrowMonthIntervalArray *array
,gint64 i
);
Since: 8.0.0
const gint32 * garrow_month_interval_array_get_values (GArrowMonthIntervalArray *array
,gint64 *length
);
Since: 8.0.0
GArrowDayTimeIntervalArray * garrow_day_time_interval_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 8.0.0
GArrowDayMillisecond * garrow_day_time_interval_array_get_value (GArrowDayTimeIntervalArray *array
,gint64 i
);
Since: 8.0.0
GList *
garrow_day_time_interval_array_get_values
(GArrowDayTimeIntervalArray *array
);
The list of GArrowDayMillisecond.
[nullable][element-type GArrowDayMillisecond][transfer full]
Since: 8.0.0
GArrowMonthDayNanoIntervalArray * garrow_month_day_nano_interval_array_new (gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 8.0.0
GArrowMonthDayNano * garrow_month_day_nano_interval_array_get_value (GArrowMonthDayNanoIntervalArray *array
,gint64 i
);
Since: 8.0.0
GList *
garrow_month_day_nano_interval_array_get_values
(GArrowMonthDayNanoIntervalArray *array
);
Since: 8.0.0
GArrowFixedSizeBinaryArray * garrow_fixed_size_binary_array_new (GArrowFixedSizeBinaryDataType *data_type
,gint64 length
,GArrowBuffer *data
,GArrowBuffer *null_bitmap
,gint64 n_nulls
);
data_type |
A GArrowFixedSizeBinaryDataType for the array. |
|
length |
The number of elements. |
|
data |
The binary data in Arrow format of the array. |
|
null_bitmap |
The bitmap that shows null elements. The
N-th element is null when the N-th bit is 0, not null otherwise.
If the array has no null elements, the bitmap must be |
[nullable] |
n_nulls |
The number of null elements. If -1 is specified, the
number of nulls are computed from |
Since: 3.0.0
gint32
garrow_fixed_size_binary_array_get_byte_width
(GArrowFixedSizeBinaryArray *array
);
Since: 3.0.0
GBytes * garrow_fixed_size_binary_array_get_value (GArrowFixedSizeBinaryArray *array
,gint64 i
);
Since: 3.0.0
GBytes *
garrow_fixed_size_binary_array_get_values_bytes
(GArrowFixedSizeBinaryArray *array
);
Since: 3.0.0
gchar * garrow_decimal128_array_format_value (GArrowDecimal128Array *array
,gint64 i
);
The formatted i
-th value.
It should be freed with g_free()
when no longer needed.
[transfer full]
Since: 0.10.0
GArrowDecimal128 * garrow_decimal128_array_get_value (GArrowDecimal128Array *array
,gint64 i
);
Since: 0.10.0
gchar * garrow_decimal256_array_format_value (GArrowDecimal256Array *array
,gint64 i
);
The formatted i
-th value.
It should be freed with g_free()
when no longer needed.
[transfer full]
Since: 3.0.0
GArrowDecimal256 * garrow_decimal256_array_get_value (GArrowDecimal256Array *array
,gint64 i
);
Since: 3.0.0
GArrowArray *
garrow_extension_array_get_storage (GArrowExtensionArray *array
);
Since: 3.0.0
struct GArrowPrimitiveArrayClass { GArrowArrayClass parent_class; };
struct GArrowBooleanArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowNumericArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowUInt8ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowInt16ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowUInt16ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowInt32ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowUInt32ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowInt64ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowUInt64ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowFloatArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowDoubleArrayClass { GArrowNumericArrayClass parent_class; };
#define GARROW_TYPE_LARGE_BINARY_ARRAY (garrow_large_binary_array_get_type())
struct GArrowLargeBinaryArrayClass { GArrowArrayClass parent_class; };
struct GArrowStringArrayClass { GArrowBinaryArrayClass parent_class; };
#define GARROW_TYPE_LARGE_STRING_ARRAY (garrow_large_string_array_get_type())
struct GArrowLargeStringArrayClass { GArrowLargeBinaryArrayClass parent_class; };
struct GArrowDate32ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowDate64ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowTimestampArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowTime32ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowTime64ArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowMonthIntervalArrayClass { GArrowNumericArrayClass parent_class; };
struct GArrowDayTimeIntervalArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowMonthDayNanoIntervalArrayClass { GArrowPrimitiveArrayClass parent_class; };
#define GARROW_TYPE_FIXED_SIZE_BINARY_ARRAY (garrow_fixed_size_binary_array_get_type())
struct GArrowFixedSizeBinaryArrayClass { GArrowPrimitiveArrayClass parent_class; };
#define GARROW_TYPE_DECIMAL128_ARRAY (garrow_decimal128_array_get_type())
struct GArrowDecimal128ArrayClass { GArrowFixedSizeBinaryArrayClass parent_class; };
#define GARROW_TYPE_DECIMAL256_ARRAY (garrow_decimal256_array_get_type())
struct GArrowDecimal256ArrayClass { GArrowFixedSizeBinaryArrayClass parent_class; };
typedef struct _GArrowMonthDayNanoIntervalArray GArrowMonthDayNanoIntervalArray;
“absolute-tolerance”
property“absolute-tolerance” gdouble
The absolute tolerance for approximate comparison of floating-point values.
Owner: GArrowEqualOptions
Flags: Read / Write
Default value: 1e-05
Since: 5.0.0
“approx”
property“approx” gboolean
Whether or not approximate comparison is used.
Owner: GArrowEqualOptions
Flags: Read / Write
Default value: FALSE
Since: 5.0.0