Top | ![]() |
![]() |
![]() |
![]() |
struct | GArrowArray |
struct | GArrowNullArray |
struct | GArrowNullArrayClass |
struct | GArrowPrimitiveArray |
struct | GArrowPrimitiveArrayClass |
struct | GArrowBooleanArray |
struct | GArrowBooleanArrayClass |
struct | GArrowInt8Array |
struct | GArrowInt8ArrayClass |
struct | GArrowUInt8Array |
struct | GArrowUInt8ArrayClass |
struct | GArrowInt16Array |
struct | GArrowInt16ArrayClass |
struct | GArrowUInt16Array |
struct | GArrowUInt16ArrayClass |
struct | GArrowInt32Array |
struct | GArrowInt32ArrayClass |
struct | GArrowUInt32Array |
struct | GArrowUInt32ArrayClass |
struct | GArrowInt64Array |
struct | GArrowInt64ArrayClass |
struct | GArrowUInt64Array |
struct | GArrowUInt64ArrayClass |
struct | GArrowFloatArray |
struct | GArrowFloatArrayClass |
struct | GArrowDoubleArray |
struct | GArrowDoubleArrayClass |
struct | GArrowBinaryArray |
struct | GArrowBinaryArrayClass |
struct | GArrowStringArray |
struct | GArrowStringArrayClass |
struct | GArrowListArray |
struct | GArrowListArrayClass |
struct | GArrowStructArray |
struct | GArrowStructArrayClass |
GObject ├── GArrowArray │ ├── GArrowBinaryArray │ │ ╰── GArrowStringArray │ ├── GArrowListArray │ ├── GArrowNullArray │ ├── GArrowPrimitiveArray │ │ ├── GArrowBooleanArray │ │ ├── GArrowDoubleArray │ │ ├── GArrowFloatArray │ │ ├── GArrowInt16Array │ │ ├── GArrowInt32Array │ │ ├── GArrowInt64Array │ │ ├── GArrowInt8Array │ │ ├── GArrowUInt16Array │ │ ├── GArrowUInt32Array │ │ ├── GArrowUInt64Array │ │ ╰── GArrowUInt8Array │ ╰── GArrowStructArray ╰── GArrowArray ├── GArrowBinaryArray │ ╰── GArrowStringArray ├── GArrowPrimitiveArray │ ├── GArrowBooleanArray │ ├── GArrowDoubleArray │ ├── GArrowFloatArray │ ├── GArrowInt16Array │ ├── GArrowInt32Array │ ├── GArrowInt64Array │ ├── GArrowInt8Array │ ├── GArrowUInt16Array │ ├── GArrowUInt32Array │ ├── GArrowUInt64Array │ ╰── GArrowUInt8Array ├── GArrowListArray ├── GArrowNullArray ╰── GArrowStructArray
GArrowArray is a base class for all array classes such as GArrowBooleanArray.
All array classes are immutable. You need to use array builder class such as GArrowBooleanArrayBuilder to create a new array except GArrowNullArray.
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 binary array. It can store zero or more boolean 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. You need to use GArrowBinaryArrayBuilder 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. You need to use GArrowStringArrayBuilder to create a new array.
GArrowListArray is a class for list array. It can store zero or more list data. You need to use GArrowListArrayBuilder to create a new array.
GArrowStructArray is a class for struct array. It can store zero or more structs. One struct has zero or more fields. You need to use GArrowStructArrayBuilder to create a new array.
GArrowBuffer *
garrow_array_get_null_bitmap (GArrowArray *array
);
The bitmap that indicates null
value indexes 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
);
array |
A GArrowArray. |
|
offset |
The offset of sub GArrowArray. |
|
length |
The length of sub GArrowArray. |
The sub GArrowArray. It covers only from
offset
to offset + length
range. The sub GArrowArray shares
values with the base GArrowArray.
[transfer full]
GArrowBuffer *
garrow_primitive_array_get_buffer (GArrowPrimitiveArray *array
);
gboolean garrow_boolean_array_get_value (GArrowBooleanArray *array
,gint64 i
);
gint8 garrow_int8_array_get_value (GArrowInt8Array *array
,gint64 i
);
guint8 garrow_uint8_array_get_value (GArrowUInt8Array *array
,gint64 i
);
gint16 garrow_int16_array_get_value (GArrowInt16Array *array
,gint64 i
);
guint16 garrow_uint16_array_get_value (GArrowUInt16Array *array
,gint64 i
);
gint32 garrow_int32_array_get_value (GArrowInt32Array *array
,gint64 i
);
guint32 garrow_uint32_array_get_value (GArrowUInt32Array *array
,gint64 i
);
gint64 garrow_int64_array_get_value (GArrowInt64Array *array
,gint64 i
);
guint64 garrow_uint64_array_get_value (GArrowUInt64Array *array
,gint64 i
);
gfloat garrow_float_array_get_value (GArrowFloatArray *array
,gint64 i
);
gdouble garrow_double_array_get_value (GArrowDoubleArray *array
,gint64 i
);
GBytes * garrow_binary_array_get_value (GArrowBinaryArray *array
,gint64 i
);
GArrowBuffer *
garrow_binary_array_get_buffer (GArrowBinaryArray *array
);
gchar * garrow_string_array_get_string (GArrowStringArray *array
,gint64 i
);
GArrowDataType *
garrow_list_array_get_value_type (GArrowListArray *array
);
GArrowArray * garrow_list_array_get_value (GArrowListArray *array
,gint64 i
);
GArrowArray * garrow_struct_array_get_field (GArrowStructArray *array
,gint i
);
GList *
garrow_struct_array_get_fields (GArrowStructArray *array
);
struct GArrowPrimitiveArrayClass { GArrowArrayClass parent_class; };
struct GArrowBooleanArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowInt8ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowUInt8ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowInt16ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowUInt16ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowInt32ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowUInt32ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowInt64ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowUInt64ArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowFloatArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowDoubleArrayClass { GArrowPrimitiveArrayClass parent_class; };
struct GArrowStringArrayClass { GArrowBinaryArrayClass parent_class; };