Array builder classes

Array builder classes

Functions

void garrow_array_builder_release_ownership ()
GArrowDataType * garrow_array_builder_get_value_data_type ()
GArrowType garrow_array_builder_get_value_type ()
GArrowArray * garrow_array_builder_finish ()
void garrow_array_builder_reset ()
gint64 garrow_array_builder_get_capacity ()
gint64 garrow_array_builder_get_length ()
gint64 garrow_array_builder_get_n_nulls ()
gboolean garrow_array_builder_resize ()
gboolean garrow_array_builder_reserve ()
gboolean garrow_array_builder_append_null ()
gboolean garrow_array_builder_append_nulls ()
gboolean garrow_array_builder_append_empty_value ()
gboolean garrow_array_builder_append_empty_values ()
GArrowNullArrayBuilder * garrow_null_array_builder_new ()
gboolean garrow_null_array_builder_append_null ()
gboolean garrow_null_array_builder_append_nulls ()
GArrowBooleanArrayBuilder * garrow_boolean_array_builder_new ()
gboolean garrow_boolean_array_builder_append ()
gboolean garrow_boolean_array_builder_append_value ()
gboolean garrow_boolean_array_builder_append_values ()
gboolean garrow_boolean_array_builder_append_null ()
gboolean garrow_boolean_array_builder_append_nulls ()
GArrowIntArrayBuilder * garrow_int_array_builder_new ()
gboolean garrow_int_array_builder_append ()
gboolean garrow_int_array_builder_append_value ()
gboolean garrow_int_array_builder_append_values ()
gboolean garrow_int_array_builder_append_null ()
gboolean garrow_int_array_builder_append_nulls ()
GArrowUIntArrayBuilder * garrow_uint_array_builder_new ()
gboolean garrow_uint_array_builder_append ()
gboolean garrow_uint_array_builder_append_value ()
gboolean garrow_uint_array_builder_append_values ()
gboolean garrow_uint_array_builder_append_null ()
gboolean garrow_uint_array_builder_append_nulls ()
GArrowInt8ArrayBuilder * garrow_int8_array_builder_new ()
gboolean garrow_int8_array_builder_append ()
gboolean garrow_int8_array_builder_append_value ()
gboolean garrow_int8_array_builder_append_values ()
gboolean garrow_int8_array_builder_append_null ()
gboolean garrow_int8_array_builder_append_nulls ()
GArrowUInt8ArrayBuilder * garrow_uint8_array_builder_new ()
gboolean garrow_uint8_array_builder_append ()
gboolean garrow_uint8_array_builder_append_value ()
gboolean garrow_uint8_array_builder_append_values ()
gboolean garrow_uint8_array_builder_append_null ()
gboolean garrow_uint8_array_builder_append_nulls ()
GArrowInt16ArrayBuilder * garrow_int16_array_builder_new ()
gboolean garrow_int16_array_builder_append ()
gboolean garrow_int16_array_builder_append_value ()
gboolean garrow_int16_array_builder_append_values ()
gboolean garrow_int16_array_builder_append_null ()
gboolean garrow_int16_array_builder_append_nulls ()
GArrowUInt16ArrayBuilder * garrow_uint16_array_builder_new ()
gboolean garrow_uint16_array_builder_append ()
gboolean garrow_uint16_array_builder_append_value ()
gboolean garrow_uint16_array_builder_append_values ()
gboolean garrow_uint16_array_builder_append_null ()
gboolean garrow_uint16_array_builder_append_nulls ()
GArrowInt32ArrayBuilder * garrow_int32_array_builder_new ()
gboolean garrow_int32_array_builder_append ()
gboolean garrow_int32_array_builder_append_value ()
gboolean garrow_int32_array_builder_append_values ()
gboolean garrow_int32_array_builder_append_null ()
gboolean garrow_int32_array_builder_append_nulls ()
GArrowUInt32ArrayBuilder * garrow_uint32_array_builder_new ()
gboolean garrow_uint32_array_builder_append ()
gboolean garrow_uint32_array_builder_append_value ()
gboolean garrow_uint32_array_builder_append_values ()
gboolean garrow_uint32_array_builder_append_null ()
gboolean garrow_uint32_array_builder_append_nulls ()
GArrowInt64ArrayBuilder * garrow_int64_array_builder_new ()
gboolean garrow_int64_array_builder_append ()
gboolean garrow_int64_array_builder_append_value ()
gboolean garrow_int64_array_builder_append_values ()
gboolean garrow_int64_array_builder_append_null ()
gboolean garrow_int64_array_builder_append_nulls ()
GArrowUInt64ArrayBuilder * garrow_uint64_array_builder_new ()
gboolean garrow_uint64_array_builder_append ()
gboolean garrow_uint64_array_builder_append_value ()
gboolean garrow_uint64_array_builder_append_values ()
gboolean garrow_uint64_array_builder_append_null ()
gboolean garrow_uint64_array_builder_append_nulls ()
GArrowFloatArrayBuilder * garrow_float_array_builder_new ()
gboolean garrow_float_array_builder_append ()
gboolean garrow_float_array_builder_append_value ()
gboolean garrow_float_array_builder_append_values ()
gboolean garrow_float_array_builder_append_null ()
gboolean garrow_float_array_builder_append_nulls ()
GArrowDoubleArrayBuilder * garrow_double_array_builder_new ()
gboolean garrow_double_array_builder_append ()
gboolean garrow_double_array_builder_append_value ()
gboolean garrow_double_array_builder_append_values ()
gboolean garrow_double_array_builder_append_null ()
gboolean garrow_double_array_builder_append_nulls ()
GArrowBinaryArrayBuilder * garrow_binary_array_builder_new ()
gboolean garrow_binary_array_builder_append ()
gboolean garrow_binary_array_builder_append_value ()
gboolean garrow_binary_array_builder_append_value_bytes ()
gboolean garrow_binary_array_builder_append_values ()
gboolean garrow_binary_array_builder_append_null ()
gboolean garrow_binary_array_builder_append_nulls ()
GArrowLargeBinaryArrayBuilder * garrow_large_binary_array_builder_new ()
gboolean garrow_large_binary_array_builder_append_value ()
gboolean garrow_large_binary_array_builder_append_value_bytes ()
gboolean garrow_large_binary_array_builder_append_values ()
gboolean garrow_large_binary_array_builder_append_null ()
gboolean garrow_large_binary_array_builder_append_nulls ()
GArrowStringArrayBuilder * garrow_string_array_builder_new ()
gboolean garrow_string_array_builder_append ()
gboolean garrow_string_array_builder_append_value ()
gboolean garrow_string_array_builder_append_string ()
gboolean garrow_string_array_builder_append_values ()
gboolean garrow_string_array_builder_append_strings ()
GArrowLargeStringArrayBuilder * garrow_large_string_array_builder_new ()
gboolean garrow_large_string_array_builder_append_string ()
gboolean garrow_large_string_array_builder_append_strings ()
GArrowFixedSizeBinaryArrayBuilder * garrow_fixed_size_binary_array_builder_new ()
gboolean garrow_fixed_size_binary_array_builder_append_value ()
gboolean garrow_fixed_size_binary_array_builder_append_value_bytes ()
gboolean garrow_fixed_size_binary_array_builder_append_values ()
gboolean garrow_fixed_size_binary_array_builder_append_values_packed ()
GArrowDate32ArrayBuilder * garrow_date32_array_builder_new ()
gboolean garrow_date32_array_builder_append ()
gboolean garrow_date32_array_builder_append_value ()
gboolean garrow_date32_array_builder_append_values ()
gboolean garrow_date32_array_builder_append_null ()
gboolean garrow_date32_array_builder_append_nulls ()
GArrowDate64ArrayBuilder * garrow_date64_array_builder_new ()
gboolean garrow_date64_array_builder_append ()
gboolean garrow_date64_array_builder_append_value ()
gboolean garrow_date64_array_builder_append_values ()
gboolean garrow_date64_array_builder_append_null ()
gboolean garrow_date64_array_builder_append_nulls ()
GArrowTimestampArrayBuilder * garrow_timestamp_array_builder_new ()
gboolean garrow_timestamp_array_builder_append ()
gboolean garrow_timestamp_array_builder_append_value ()
gboolean garrow_timestamp_array_builder_append_values ()
gboolean garrow_timestamp_array_builder_append_null ()
gboolean garrow_timestamp_array_builder_append_nulls ()
GArrowTime32ArrayBuilder * garrow_time32_array_builder_new ()
gboolean garrow_time32_array_builder_append ()
gboolean garrow_time32_array_builder_append_value ()
gboolean garrow_time32_array_builder_append_values ()
gboolean garrow_time32_array_builder_append_null ()
gboolean garrow_time32_array_builder_append_nulls ()
GArrowTime64ArrayBuilder * garrow_time64_array_builder_new ()
gboolean garrow_time64_array_builder_append ()
gboolean garrow_time64_array_builder_append_value ()
gboolean garrow_time64_array_builder_append_values ()
gboolean garrow_time64_array_builder_append_null ()
gboolean garrow_time64_array_builder_append_nulls ()
GArrowBinaryDictionaryArrayBuilder * garrow_binary_dictionary_array_builder_new ()
gboolean garrow_binary_dictionary_array_builder_append_null ()
gboolean garrow_binary_dictionary_array_builder_append_value ()
gboolean garrow_binary_dictionary_array_builder_append_value_bytes ()
gboolean garrow_binary_dictionary_array_builder_append_array ()
gboolean garrow_binary_dictionary_array_builder_append_indices ()
gint64 garrow_binary_dictionary_array_builder_get_dictionary_length ()
gboolean garrow_binary_dictionary_array_builder_finish_delta ()
gboolean garrow_binary_dictionary_array_builder_insert_memo_values ()
void garrow_binary_dictionary_array_builder_reset_full ()
GArrowStringDictionaryArrayBuilder * garrow_string_dictionary_array_builder_new ()
gboolean garrow_string_dictionary_array_builder_append_null ()
gboolean garrow_string_dictionary_array_builder_append_string ()
gboolean garrow_string_dictionary_array_builder_append_array ()
gboolean garrow_string_dictionary_array_builder_append_indices ()
gint64 garrow_string_dictionary_array_builder_get_dictionary_length ()
gboolean garrow_string_dictionary_array_builder_finish_delta ()
gboolean garrow_string_dictionary_array_builder_insert_memo_values ()
void garrow_string_dictionary_array_builder_reset_full ()
GArrowListArrayBuilder * garrow_list_array_builder_new ()
gboolean garrow_list_array_builder_append ()
gboolean garrow_list_array_builder_append_value ()
gboolean garrow_list_array_builder_append_null ()
GArrowArrayBuilder * garrow_list_array_builder_get_value_builder ()
GArrowLargeListArrayBuilder * garrow_large_list_array_builder_new ()
gboolean garrow_large_list_array_builder_append_value ()
gboolean garrow_large_list_array_builder_append_null ()
GArrowArrayBuilder * garrow_large_list_array_builder_get_value_builder ()
GArrowStructArrayBuilder * garrow_struct_array_builder_new ()
gboolean garrow_struct_array_builder_append ()
gboolean garrow_struct_array_builder_append_value ()
gboolean garrow_struct_array_builder_append_null ()
GArrowArrayBuilder * garrow_struct_array_builder_get_field_builder ()
GList * garrow_struct_array_builder_get_field_builders ()
GArrowMapArrayBuilder * garrow_map_array_builder_new ()
gboolean garrow_map_array_builder_append_value ()
gboolean garrow_map_array_builder_append_values ()
gboolean garrow_map_array_builder_append_null ()
gboolean garrow_map_array_builder_append_nulls ()
GArrowArrayBuilder * garrow_map_array_builder_get_key_builder ()
GArrowArrayBuilder * garrow_map_array_builder_get_item_builder ()
GArrowArrayBuilder * garrow_map_array_builder_get_value_builder ()
GArrowDecimal128ArrayBuilder * garrow_decimal128_array_builder_new ()
gboolean garrow_decimal128_array_builder_append ()
gboolean garrow_decimal128_array_builder_append_value ()
gboolean garrow_decimal128_array_builder_append_values ()
gboolean garrow_decimal128_array_builder_append_null ()
GArrowDecimal256ArrayBuilder * garrow_decimal256_array_builder_new ()
gboolean garrow_decimal256_array_builder_append_value ()
gboolean garrow_decimal256_array_builder_append_values ()

Properties

gpointer array-builder Write / Construct Only

Types and Values

#define GARROW_TYPE_ARRAY_BUILDER
struct GArrowArrayBuilderClass
#define GARROW_TYPE_NULL_ARRAY_BUILDER
struct GArrowNullArrayBuilderClass
#define GARROW_TYPE_BOOLEAN_ARRAY_BUILDER
struct GArrowBooleanArrayBuilderClass
#define GARROW_TYPE_INT_ARRAY_BUILDER
struct GArrowIntArrayBuilderClass
#define GARROW_TYPE_UINT_ARRAY_BUILDER
struct GArrowUIntArrayBuilderClass
#define GARROW_TYPE_INT8_ARRAY_BUILDER
struct GArrowInt8ArrayBuilderClass
#define GARROW_TYPE_UINT8_ARRAY_BUILDER
struct GArrowUInt8ArrayBuilderClass
#define GARROW_TYPE_INT16_ARRAY_BUILDER
struct GArrowInt16ArrayBuilderClass
#define GARROW_TYPE_UINT16_ARRAY_BUILDER
struct GArrowUInt16ArrayBuilderClass
#define GARROW_TYPE_INT32_ARRAY_BUILDER
struct GArrowInt32ArrayBuilderClass
#define GARROW_TYPE_UINT32_ARRAY_BUILDER
struct GArrowUInt32ArrayBuilderClass
#define GARROW_TYPE_INT64_ARRAY_BUILDER
struct GArrowInt64ArrayBuilderClass
#define GARROW_TYPE_UINT64_ARRAY_BUILDER
struct GArrowUInt64ArrayBuilderClass
#define GARROW_TYPE_FLOAT_ARRAY_BUILDER
struct GArrowFloatArrayBuilderClass
#define GARROW_TYPE_DOUBLE_ARRAY_BUILDER
struct GArrowDoubleArrayBuilderClass
#define GARROW_TYPE_BINARY_ARRAY_BUILDER
struct GArrowBinaryArrayBuilderClass
#define GARROW_TYPE_LARGE_BINARY_ARRAY_BUILDER
struct GArrowLargeBinaryArrayBuilderClass
#define GARROW_TYPE_STRING_ARRAY_BUILDER
struct GArrowStringArrayBuilderClass
#define GARROW_TYPE_LARGE_STRING_ARRAY_BUILDER
struct GArrowLargeStringArrayBuilderClass
#define GARROW_TYPE_FIXED_SIZE_BINARY_ARRAY_BUILDER
struct GArrowFixedSizeBinaryArrayBuilderClass
#define GARROW_TYPE_DATE32_ARRAY_BUILDER
struct GArrowDate32ArrayBuilderClass
#define GARROW_TYPE_DATE64_ARRAY_BUILDER
struct GArrowDate64ArrayBuilderClass
#define GARROW_TYPE_TIMESTAMP_ARRAY_BUILDER
struct GArrowTimestampArrayBuilderClass
#define GARROW_TYPE_TIME32_ARRAY_BUILDER
struct GArrowTime32ArrayBuilderClass
#define GARROW_TYPE_TIME64_ARRAY_BUILDER
struct GArrowTime64ArrayBuilderClass
#define GARROW_TYPE_BINARY_DICTIONARY_ARRAY_BUILDER
struct GArrowBinaryDictionaryArrayBuilderClass
#define GARROW_TYPE_STRING_DICTIONARY_ARRAY_BUILDER
struct GArrowStringDictionaryArrayBuilderClass
#define GARROW_TYPE_LIST_ARRAY_BUILDER
struct GArrowListArrayBuilderClass
#define GARROW_TYPE_LARGE_LIST_ARRAY_BUILDER
struct GArrowLargeListArrayBuilderClass
#define GARROW_TYPE_STRUCT_ARRAY_BUILDER
struct GArrowStructArrayBuilderClass
#define GARROW_TYPE_MAP_ARRAY_BUILDER
struct GArrowMapArrayBuilderClass
#define GARROW_TYPE_DECIMAL128_ARRAY_BUILDER
struct GArrowDecimal128ArrayBuilderClass
#define GARROW_TYPE_DECIMAL256_ARRAY_BUILDER
struct GArrowDecimal256ArrayBuilderClass
  GArrowArrayBuilder
  GArrowBinaryArrayBuilder
  GArrowBinaryDictionaryArrayBuilder
  GArrowBooleanArrayBuilder
  GArrowDate32ArrayBuilder
  GArrowDate64ArrayBuilder
  GArrowDecimal128ArrayBuilder
  GArrowDecimal256ArrayBuilder
  GArrowDoubleArrayBuilder
  GArrowFixedSizeBinaryArrayBuilder
  GArrowFloatArrayBuilder
  GArrowInt16ArrayBuilder
  GArrowInt32ArrayBuilder
  GArrowInt64ArrayBuilder
  GArrowInt8ArrayBuilder
  GArrowIntArrayBuilder
  GArrowLargeBinaryArrayBuilder
  GArrowLargeListArrayBuilder
  GArrowLargeStringArrayBuilder
  GArrowListArrayBuilder
  GArrowMapArrayBuilder
  GArrowNullArrayBuilder
  GArrowStringArrayBuilder
  GArrowStringDictionaryArrayBuilder
  GArrowStructArrayBuilder
  GArrowTime32ArrayBuilder
  GArrowTime64ArrayBuilder
  GArrowTimestampArrayBuilder
  GArrowUInt16ArrayBuilder
  GArrowUInt32ArrayBuilder
  GArrowUInt64ArrayBuilder
  GArrowUInt8ArrayBuilder
  GArrowUIntArrayBuilder

Object Hierarchy

    GObject
    ╰── GArrowArrayBuilder
        ├── GArrowBinaryArrayBuilder
           ╰── GArrowStringArrayBuilder
        ├── GArrowBinaryDictionaryArrayBuilder
        ├── GArrowBooleanArrayBuilder
        ├── GArrowDate32ArrayBuilder
        ├── GArrowDate64ArrayBuilder
        ├── GArrowFixedSizeBinaryArrayBuilder
           ├── GArrowDecimal128ArrayBuilder
           ├── GArrowDecimal256ArrayBuilder
           ├── GArrowDecimal128ArrayBuilder
           ╰── GArrowDecimal256ArrayBuilder
        ├── GArrowDoubleArrayBuilder
        ├── GArrowFloatArrayBuilder
        ├── GArrowInt16ArrayBuilder
        ├── GArrowInt32ArrayBuilder
        ├── GArrowInt64ArrayBuilder
        ├── GArrowInt8ArrayBuilder
        ├── GArrowIntArrayBuilder
        ├── GArrowLargeBinaryArrayBuilder
           ╰── GArrowLargeStringArrayBuilder
        ├── GArrowLargeListArrayBuilder
        ├── GArrowListArrayBuilder
        ├── GArrowMapArrayBuilder
        ├── GArrowNullArrayBuilder
        ├── GArrowStringDictionaryArrayBuilder
        ├── GArrowStructArrayBuilder
        ├── GArrowTime32ArrayBuilder
        ├── GArrowTime64ArrayBuilder
        ├── GArrowTimestampArrayBuilder
        ├── GArrowUInt16ArrayBuilder
        ├── GArrowUInt32ArrayBuilder
        ├── GArrowUInt64ArrayBuilder
        ├── GArrowUInt8ArrayBuilder
        ╰── GArrowUIntArrayBuilder

Includes

#include <arrow-glib/arrow-glib.h>

Description

GArrowArrayBuilder is a base class for all array builder classes such as GArrowBooleanArrayBuilder.

You need to use array builder class to create a new array.

GArrowNullArrayBuilder is the class to create a new GArrowNullArray.

GArrowBooleanArrayBuilder is the class to create a new GArrowBooleanArray.

GArrowIntArrayBuilder is the class to create a new integer array. Integer size is automatically chosen. It's recommend that you use this builder instead of specific integer size builder such as GArrowInt8ArrayBuilder.

GArrowUIntArrayBuilder is the class to create a new unsigned integer array. Unsigned integer size is automatically chosen. It's recommend that you use this builder instead of specific unsigned integer size builder such as GArrowUInt8ArrayBuilder.

GArrowInt8ArrayBuilder is the class to create a new GArrowInt8Array.

GArrowUInt8ArrayBuilder is the class to create a new GArrowUInt8Array.

GArrowInt16ArrayBuilder is the class to create a new GArrowInt16Array.

GArrowUInt16ArrayBuilder is the class to create a new GArrowUInt16Array.

GArrowInt32ArrayBuilder is the class to create a new GArrowInt32Array.

GArrowUInt32ArrayBuilder is the class to create a new GArrowUInt32Array.

GArrowInt64ArrayBuilder is the class to create a new GArrowInt64Array.

GArrowUInt64ArrayBuilder is the class to create a new GArrowUInt64Array.

GArrowFloatArrayBuilder is the class to creating a new GArrowFloatArray.

GArrowDoubleArrayBuilder is the class to create a new GArrowDoubleArray.

GArrowBinaryArrayBuilder is the class to create a new GArrowBinaryArray.

GArrowLargeBinaryArrayBuilder is the class to create a new GArrowLargeBinaryArray.

GArrowStringArrayBuilder is the class to create a new GArrowStringArray.

GArrowLargeStringArrayBuilder is the class to create a new GArrowLargeStringArray.

GArrowFixedSizeBinaryArrayBuilder is the class to create a new GArrowFixedSizeBinaryArray.

GArrowDate32ArrayBuilder is the class to create a new GArrowDate32Array.

GArrowDate64ArrayBuilder is the class to create a new GArrowDate64Array.

GArrowTimestampArrayBuilder is the class to create a new GArrowTimestampArray.

GArrowTime32ArrayBuilder is the class to create a new GArrowTime32Array.

GArrowTime64ArrayBuilder is the class to create a new GArrowTime64Array.

GArrowStringDictionaryArrayBuilder is the class to create a new GArrowDictionaryArray with a dictionary array of GArrowStringArray.

GArrowListArrayBuilder is the class to create a new GArrowListArray.

GArrowLargeListArrayBuilder is the class to create a new GArrowLargeListArray.

GArrowStructArrayBuilder is the class to create a new GArrowStructArray.

GArrowMapArrayBuilder is the class to create a new GArrowMapArray.

GArrowDecimal128ArrayBuilder is the class to create a new GArrowDecimal128Array.

GArrowDecimal256ArrayBuilder is the class to create a new GArrowDecimal256Array.

Functions

garrow_array_builder_release_ownership ()

void
garrow_array_builder_release_ownership
                               (GArrowArrayBuilder *builder);

Release ownership of arrow::ArrayBuilder in builder.

[skip]

Parameters

builder

A GArrowArrayBuilder.

 

Since: 0.8.0


garrow_array_builder_get_value_data_type ()

GArrowDataType *
garrow_array_builder_get_value_data_type
                               (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Returns

The GArrowDataType of the value of the array builder.

[transfer full]

Since: 0.9.0


garrow_array_builder_get_value_type ()

GArrowType
garrow_array_builder_get_value_type (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Returns

The GArrowType of the value of the array builder.

Since: 0.9.0


garrow_array_builder_finish ()

GArrowArray *
garrow_array_builder_finish (GArrowArrayBuilder *builder,
                             GError **error);

Parameters

builder

A GArrowArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

The built GArrowArray on success, NULL on error.

[transfer full]


garrow_array_builder_reset ()

void
garrow_array_builder_reset (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Since: 2.0.0


garrow_array_builder_get_capacity ()

gint64
garrow_array_builder_get_capacity (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Returns

The capacity of the building array.

Since: 2.0.0


garrow_array_builder_get_length ()

gint64
garrow_array_builder_get_length (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Returns

The current length of the building array.

Since: 2.0.0


garrow_array_builder_get_n_nulls ()

gint64
garrow_array_builder_get_n_nulls (GArrowArrayBuilder *builder);

Parameters

builder

A GArrowArrayBuilder.

 

Returns

The current number of null elements in the building array.

Since: 2.0.0


garrow_array_builder_resize ()

gboolean
garrow_array_builder_resize (GArrowArrayBuilder *builder,
                             gint64 capacity,
                             GError **error);

Parameters

builder

A GArrowArrayBuilder.

 

capacity

A new capacity.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_array_builder_reserve ()

gboolean
garrow_array_builder_reserve (GArrowArrayBuilder *builder,
                              gint64 additional_capacity,
                              GError **error);

Parameters

builder

A GArrowArrayBuilder.

 

additional_capacity

The additional capacity to be reserved.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_array_builder_append_null ()

gboolean
garrow_array_builder_append_null (GArrowArrayBuilder *builder,
                                  GError **error);

Parameters

builder

A GArrowArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_array_builder_append_nulls ()

gboolean
garrow_array_builder_append_nulls (GArrowArrayBuilder *builder,
                                   gint64 n,
                                   GError **error);

Append multiple nulls at once. It's more efficient than multiple garrow_array_builder_append_null() calls.

Parameters

builder

A GArrowArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_array_builder_append_empty_value ()

gboolean
garrow_array_builder_append_empty_value
                               (GArrowArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_array_builder_append_empty_values ()

gboolean
garrow_array_builder_append_empty_values
                               (GArrowArrayBuilder *builder,
                                gint64 n,
                                GError **error);

Append multiple empty values at once. It's more efficient than multiple garrow_array_builder_append_empty_value() calls.

Parameters

builder

A GArrowArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_null_array_builder_new ()

GArrowNullArrayBuilder *
garrow_null_array_builder_new (void);

Returns

A newly created GArrowNullArrayBuilder.

Since: 0.13.0


garrow_null_array_builder_append_null ()

gboolean
garrow_null_array_builder_append_null (GArrowNullArrayBuilder *builder,
                                       GError **error);

garrow_null_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowNullArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.13.0


garrow_null_array_builder_append_nulls ()

gboolean
garrow_null_array_builder_append_nulls
                               (GArrowNullArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_null_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowNullArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.13.0


garrow_boolean_array_builder_new ()

GArrowBooleanArrayBuilder *
garrow_boolean_array_builder_new (void);

Returns

A newly created GArrowBooleanArrayBuilder.


garrow_boolean_array_builder_append ()

gboolean
garrow_boolean_array_builder_append (GArrowBooleanArrayBuilder *builder,
                                     gboolean value,
                                     GError **error);

garrow_boolean_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_boolean_array_builder_append_value() instead.

Parameters

builder

A GArrowBooleanArrayBuilder.

 

value

A boolean value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_boolean_array_builder_append_value ()

gboolean
garrow_boolean_array_builder_append_value
                               (GArrowBooleanArrayBuilder *builder,
                                gboolean value,
                                GError **error);

Parameters

builder

A GArrowBooleanArrayBuilder.

 

value

A boolean value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_boolean_array_builder_append_values ()

gboolean
garrow_boolean_array_builder_append_values
                               (GArrowBooleanArrayBuilder *builder,
                                const gboolean *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowBooleanArrayBuilder.

 

values

The array of boolean.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_boolean_array_builder_append_null ()

gboolean
garrow_boolean_array_builder_append_null
                               (GArrowBooleanArrayBuilder *builder,
                                GError **error);

garrow_boolean_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowBooleanArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_boolean_array_builder_append_nulls ()

gboolean
garrow_boolean_array_builder_append_nulls
                               (GArrowBooleanArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_boolean_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowBooleanArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int_array_builder_new ()

GArrowIntArrayBuilder *
garrow_int_array_builder_new (void);

Returns

A newly created GArrowIntArrayBuilder.

Since: 0.6.0


garrow_int_array_builder_append ()

gboolean
garrow_int_array_builder_append (GArrowIntArrayBuilder *builder,
                                 gint64 value,
                                 GError **error);

garrow_int_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_int_array_builder_append_value() instead.

Parameters

builder

A GArrowIntArrayBuilder.

 

value

A int value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.6.0


garrow_int_array_builder_append_value ()

gboolean
garrow_int_array_builder_append_value (GArrowIntArrayBuilder *builder,
                                       gint64 value,
                                       GError **error);

Parameters

builder

A GArrowIntArrayBuilder.

 

value

A int value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_int_array_builder_append_values ()

gboolean
garrow_int_array_builder_append_values
                               (GArrowIntArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowIntArrayBuilder.

 

values

The array of int.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int_array_builder_append_null ()

gboolean
garrow_int_array_builder_append_null (GArrowIntArrayBuilder *builder,
                                      GError **error);

garrow_int_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowIntArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.6.0


garrow_int_array_builder_append_nulls ()

gboolean
garrow_int_array_builder_append_nulls (GArrowIntArrayBuilder *builder,
                                       gint64 n,
                                       GError **error);

garrow_int_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowIntArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint_array_builder_new ()

GArrowUIntArrayBuilder *
garrow_uint_array_builder_new (void);

Returns

A newly created GArrowUIntArrayBuilder.

Since: 0.8.0


garrow_uint_array_builder_append ()

gboolean
garrow_uint_array_builder_append (GArrowUIntArrayBuilder *builder,
                                  guint64 value,
                                  GError **error);

garrow_uint_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_uint_array_builder_append_value() instead.

Parameters

builder

A GArrowUIntArrayBuilder.

 

value

A unsigned int value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint_array_builder_append_value ()

gboolean
garrow_uint_array_builder_append_value
                               (GArrowUIntArrayBuilder *builder,
                                guint64 value,
                                GError **error);

Parameters

builder

A GArrowUIntArrayBuilder.

 

value

A unsigned int value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_uint_array_builder_append_values ()

gboolean
garrow_uint_array_builder_append_values
                               (GArrowUIntArrayBuilder *builder,
                                const guint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowUIntArrayBuilder.

 

values

The array of unsigned int.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint_array_builder_append_null ()

gboolean
garrow_uint_array_builder_append_null (GArrowUIntArrayBuilder *builder,
                                       GError **error);

garrow_uint_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowUIntArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint_array_builder_append_nulls ()

gboolean
garrow_uint_array_builder_append_nulls
                               (GArrowUIntArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_uint_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowUIntArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int8_array_builder_new ()

GArrowInt8ArrayBuilder *
garrow_int8_array_builder_new (void);

Returns

A newly created GArrowInt8ArrayBuilder.


garrow_int8_array_builder_append ()

gboolean
garrow_int8_array_builder_append (GArrowInt8ArrayBuilder *builder,
                                  gint8 value,
                                  GError **error);

garrow_int8_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_int8_array_builder_append_value() instead.

Parameters

builder

A GArrowInt8ArrayBuilder.

 

value

A int8 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int8_array_builder_append_value ()

gboolean
garrow_int8_array_builder_append_value
                               (GArrowInt8ArrayBuilder *builder,
                                gint8 value,
                                GError **error);

Parameters

builder

A GArrowInt8ArrayBuilder.

 

value

A int8 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_int8_array_builder_append_values ()

gboolean
garrow_int8_array_builder_append_values
                               (GArrowInt8ArrayBuilder *builder,
                                const gint8 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowInt8ArrayBuilder.

 

values

The array of int8.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int8_array_builder_append_null ()

gboolean
garrow_int8_array_builder_append_null (GArrowInt8ArrayBuilder *builder,
                                       GError **error);

garrow_int8_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowInt8ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int8_array_builder_append_nulls ()

gboolean
garrow_int8_array_builder_append_nulls
                               (GArrowInt8ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_int8_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowInt8ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint8_array_builder_new ()

GArrowUInt8ArrayBuilder *
garrow_uint8_array_builder_new (void);

Returns

A newly created GArrowUInt8ArrayBuilder.


garrow_uint8_array_builder_append ()

gboolean
garrow_uint8_array_builder_append (GArrowUInt8ArrayBuilder *builder,
                                   guint8 value,
                                   GError **error);

garrow_uint8_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_uint8_array_builder_append_value() instead.

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

value

An uint8 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint8_array_builder_append_value ()

gboolean
garrow_uint8_array_builder_append_value
                               (GArrowUInt8ArrayBuilder *builder,
                                guint8 value,
                                GError **error);

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

value

An uint8 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_uint8_array_builder_append_values ()

gboolean
garrow_uint8_array_builder_append_values
                               (GArrowUInt8ArrayBuilder *builder,
                                const guint8 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

values

The array of uint8.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint8_array_builder_append_null ()

gboolean
garrow_uint8_array_builder_append_null
                               (GArrowUInt8ArrayBuilder *builder,
                                GError **error);

garrow_uint8_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint8_array_builder_append_nulls ()

gboolean
garrow_uint8_array_builder_append_nulls
                               (GArrowUInt8ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_uint8_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowUInt8ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int16_array_builder_new ()

GArrowInt16ArrayBuilder *
garrow_int16_array_builder_new (void);

Returns

A newly created GArrowInt16ArrayBuilder.


garrow_int16_array_builder_append ()

gboolean
garrow_int16_array_builder_append (GArrowInt16ArrayBuilder *builder,
                                   gint16 value,
                                   GError **error);

garrow_int16_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_int16_array_builder_append_value() instead.

Parameters

builder

A GArrowInt16ArrayBuilder.

 

value

A int16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int16_array_builder_append_value ()

gboolean
garrow_int16_array_builder_append_value
                               (GArrowInt16ArrayBuilder *builder,
                                gint16 value,
                                GError **error);

Parameters

builder

A GArrowInt16ArrayBuilder.

 

value

A int16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_int16_array_builder_append_values ()

gboolean
garrow_int16_array_builder_append_values
                               (GArrowInt16ArrayBuilder *builder,
                                const gint16 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowInt16ArrayBuilder.

 

values

The array of int16.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int16_array_builder_append_null ()

gboolean
garrow_int16_array_builder_append_null
                               (GArrowInt16ArrayBuilder *builder,
                                GError **error);

garrow_int16_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowInt16ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int16_array_builder_append_nulls ()

gboolean
garrow_int16_array_builder_append_nulls
                               (GArrowInt16ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_int16_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowInt16ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint16_array_builder_new ()

GArrowUInt16ArrayBuilder *
garrow_uint16_array_builder_new (void);

Returns

A newly created GArrowUInt16ArrayBuilder.


garrow_uint16_array_builder_append ()

gboolean
garrow_uint16_array_builder_append (GArrowUInt16ArrayBuilder *builder,
                                    guint16 value,
                                    GError **error);

garrow_uint16_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_uint16_array_builder_append_value() instead.

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

value

An uint16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint16_array_builder_append_value ()

gboolean
garrow_uint16_array_builder_append_value
                               (GArrowUInt16ArrayBuilder *builder,
                                guint16 value,
                                GError **error);

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

value

An uint16 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_uint16_array_builder_append_values ()

gboolean
garrow_uint16_array_builder_append_values
                               (GArrowUInt16ArrayBuilder *builder,
                                const guint16 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

values

The array of uint16.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint16_array_builder_append_null ()

gboolean
garrow_uint16_array_builder_append_null
                               (GArrowUInt16ArrayBuilder *builder,
                                GError **error);

garrow_uint16_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint16_array_builder_append_nulls ()

gboolean
garrow_uint16_array_builder_append_nulls
                               (GArrowUInt16ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_uint16_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowUInt16ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int32_array_builder_new ()

GArrowInt32ArrayBuilder *
garrow_int32_array_builder_new (void);

Returns

A newly created GArrowInt32ArrayBuilder.


garrow_int32_array_builder_append ()

gboolean
garrow_int32_array_builder_append (GArrowInt32ArrayBuilder *builder,
                                   gint32 value,
                                   GError **error);

garrow_int32_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_int32_array_builder_append_value() instead.

Parameters

builder

A GArrowInt32ArrayBuilder.

 

value

A int32 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int32_array_builder_append_value ()

gboolean
garrow_int32_array_builder_append_value
                               (GArrowInt32ArrayBuilder *builder,
                                gint32 value,
                                GError **error);

Parameters

builder

A GArrowInt32ArrayBuilder.

 

value

A int32 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_int32_array_builder_append_values ()

gboolean
garrow_int32_array_builder_append_values
                               (GArrowInt32ArrayBuilder *builder,
                                const gint32 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowInt32ArrayBuilder.

 

values

The array of int32.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int32_array_builder_append_null ()

gboolean
garrow_int32_array_builder_append_null
                               (GArrowInt32ArrayBuilder *builder,
                                GError **error);

garrow_int32_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowInt32ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int32_array_builder_append_nulls ()

gboolean
garrow_int32_array_builder_append_nulls
                               (GArrowInt32ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_int32_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowInt32ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint32_array_builder_new ()

GArrowUInt32ArrayBuilder *
garrow_uint32_array_builder_new (void);

Returns

A newly created GArrowUInt32ArrayBuilder.


garrow_uint32_array_builder_append ()

gboolean
garrow_uint32_array_builder_append (GArrowUInt32ArrayBuilder *builder,
                                    guint32 value,
                                    GError **error);

garrow_uint32_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_uint32_array_builder_append_value() instead.

Parameters

builder

A GArrowUInt32ArrayBuilder.

 

value

An uint32 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint32_array_builder_append_value ()

gboolean
garrow_uint32_array_builder_append_value
                               (GArrowUInt32ArrayBuilder *builder,
                                guint32 value,
                                GError **error);

Parameters

builder

A GArrowUInt32ArrayBuilder.

 

value

An uint32 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_uint32_array_builder_append_values ()

gboolean
garrow_uint32_array_builder_append_values
                               (GArrowUInt32ArrayBuilder *builder,
                                const guint32 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowUInt32ArrayBuilder.

 

values

The array of uint32.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint32_array_builder_append_null ()

gboolean
garrow_uint32_array_builder_append_null
                               (GArrowUInt32ArrayBuilder *builder,
                                GError **error);

garrow_uint32_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowUInt32ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint32_array_builder_append_nulls ()

gboolean
garrow_uint32_array_builder_append_nulls
                               (GArrowUInt32ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_uint32_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowUInt32ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int64_array_builder_new ()

GArrowInt64ArrayBuilder *
garrow_int64_array_builder_new (void);

Returns

A newly created GArrowInt64ArrayBuilder.


garrow_int64_array_builder_append ()

gboolean
garrow_int64_array_builder_append (GArrowInt64ArrayBuilder *builder,
                                   gint64 value,
                                   GError **error);

garrow_int64_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_int64_array_builder_append_value() instead.

Parameters

builder

A GArrowInt64ArrayBuilder.

 

value

A int64 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int64_array_builder_append_value ()

gboolean
garrow_int64_array_builder_append_value
                               (GArrowInt64ArrayBuilder *builder,
                                gint64 value,
                                GError **error);

Parameters

builder

A GArrowInt64ArrayBuilder.

 

value

A int64 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_int64_array_builder_append_values ()

gboolean
garrow_int64_array_builder_append_values
                               (GArrowInt64ArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowInt64ArrayBuilder.

 

values

The array of int64.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_int64_array_builder_append_null ()

gboolean
garrow_int64_array_builder_append_null
                               (GArrowInt64ArrayBuilder *builder,
                                GError **error);

garrow_int64_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowInt64ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_int64_array_builder_append_nulls ()

gboolean
garrow_int64_array_builder_append_nulls
                               (GArrowInt64ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_int64_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowInt64ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint64_array_builder_new ()

GArrowUInt64ArrayBuilder *
garrow_uint64_array_builder_new (void);

Returns

A newly created GArrowUInt64ArrayBuilder.


garrow_uint64_array_builder_append ()

gboolean
garrow_uint64_array_builder_append (GArrowUInt64ArrayBuilder *builder,
                                    guint64 value,
                                    GError **error);

garrow_uint64_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_uint64_array_builder_append_value() instead.

Parameters

builder

A GArrowUInt64ArrayBuilder.

 

value

An uint64 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint64_array_builder_append_value ()

gboolean
garrow_uint64_array_builder_append_value
                               (GArrowUInt64ArrayBuilder *builder,
                                guint64 value,
                                GError **error);

Parameters

builder

A GArrowUInt64ArrayBuilder.

 

value

An uint64 value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_uint64_array_builder_append_values ()

gboolean
garrow_uint64_array_builder_append_values
                               (GArrowUInt64ArrayBuilder *builder,
                                const guint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowUInt64ArrayBuilder.

 

values

The array of uint64.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_uint64_array_builder_append_null ()

gboolean
garrow_uint64_array_builder_append_null
                               (GArrowUInt64ArrayBuilder *builder,
                                GError **error);

garrow_uint64_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowUInt64ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_uint64_array_builder_append_nulls ()

gboolean
garrow_uint64_array_builder_append_nulls
                               (GArrowUInt64ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_uint64_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowUInt64ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_float_array_builder_new ()

GArrowFloatArrayBuilder *
garrow_float_array_builder_new (void);

Returns

A newly created GArrowFloatArrayBuilder.


garrow_float_array_builder_append ()

gboolean
garrow_float_array_builder_append (GArrowFloatArrayBuilder *builder,
                                   gfloat value,
                                   GError **error);

garrow_float_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_float_array_builder_append_value() instead.

Parameters

builder

A GArrowFloatArrayBuilder.

 

value

A float value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_float_array_builder_append_value ()

gboolean
garrow_float_array_builder_append_value
                               (GArrowFloatArrayBuilder *builder,
                                gfloat value,
                                GError **error);

Parameters

builder

A GArrowFloatArrayBuilder.

 

value

A float value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_float_array_builder_append_values ()

gboolean
garrow_float_array_builder_append_values
                               (GArrowFloatArrayBuilder *builder,
                                const gfloat *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowFloatArrayBuilder.

 

values

The array of float.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_float_array_builder_append_null ()

gboolean
garrow_float_array_builder_append_null
                               (GArrowFloatArrayBuilder *builder,
                                GError **error);

garrow_float_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowFloatArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_float_array_builder_append_nulls ()

gboolean
garrow_float_array_builder_append_nulls
                               (GArrowFloatArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_float_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowFloatArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_double_array_builder_new ()

GArrowDoubleArrayBuilder *
garrow_double_array_builder_new (void);

Returns

A newly created GArrowDoubleArrayBuilder.


garrow_double_array_builder_append ()

gboolean
garrow_double_array_builder_append (GArrowDoubleArrayBuilder *builder,
                                    gdouble value,
                                    GError **error);

garrow_double_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_double_array_builder_append_value() instead.

Parameters

builder

A GArrowDoubleArrayBuilder.

 

value

A double value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_double_array_builder_append_value ()

gboolean
garrow_double_array_builder_append_value
                               (GArrowDoubleArrayBuilder *builder,
                                gdouble value,
                                GError **error);

Parameters

builder

A GArrowDoubleArrayBuilder.

 

value

A double value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_double_array_builder_append_values ()

gboolean
garrow_double_array_builder_append_values
                               (GArrowDoubleArrayBuilder *builder,
                                const gdouble *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowDoubleArrayBuilder.

 

values

The array of double.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_double_array_builder_append_null ()

gboolean
garrow_double_array_builder_append_null
                               (GArrowDoubleArrayBuilder *builder,
                                GError **error);

garrow_double_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowDoubleArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_double_array_builder_append_nulls ()

gboolean
garrow_double_array_builder_append_nulls
                               (GArrowDoubleArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_double_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowDoubleArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_binary_array_builder_new ()

GArrowBinaryArrayBuilder *
garrow_binary_array_builder_new (void);

Returns

A newly created GArrowBinaryArrayBuilder.


garrow_binary_array_builder_append ()

gboolean
garrow_binary_array_builder_append (GArrowBinaryArrayBuilder *builder,
                                    const guint8 *value,
                                    gint32 length,
                                    GError **error);

garrow_binary_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_binary_array_builder_append_value() instead.

Parameters

builder

A GArrowBinaryArrayBuilder.

 

value

A binary value.

[array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_binary_array_builder_append_value ()

gboolean
garrow_binary_array_builder_append_value
                               (GArrowBinaryArrayBuilder *builder,
                                const guint8 *value,
                                gint32 length,
                                GError **error);

Parameters

builder

A GArrowBinaryArrayBuilder.

 

value

A binary value.

[array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_binary_array_builder_append_value_bytes ()

gboolean
garrow_binary_array_builder_append_value_bytes
                               (GArrowBinaryArrayBuilder *builder,
                                GBytes *value,
                                GError **error);

Parameters

builder

A GArrowBinaryArrayBuilder.

 

value

A binary value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_binary_array_builder_append_values ()

gboolean
garrow_binary_array_builder_append_values
                               (GArrowBinaryArrayBuilder *builder,
                                GBytes **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowBinaryArrayBuilder.

 

values

The array of GBytes.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_binary_array_builder_append_null ()

gboolean
garrow_binary_array_builder_append_null
                               (GArrowBinaryArrayBuilder *builder,
                                GError **error);

garrow_binary_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowBinaryArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_binary_array_builder_append_nulls ()

gboolean
garrow_binary_array_builder_append_nulls
                               (GArrowBinaryArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_binary_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

[skip]

Parameters

builder

A GArrowBinaryArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_binary_array_builder_new ()

GArrowLargeBinaryArrayBuilder *
garrow_large_binary_array_builder_new (void);

Returns

A newly created GArrowLargeBinaryArrayBuilder.

Since: 0.16.0


garrow_large_binary_array_builder_append_value ()

gboolean
garrow_large_binary_array_builder_append_value
                               (GArrowLargeBinaryArrayBuilder *builder,
                                const guint8 *value,
                                gint64 length,
                                GError **error);

Parameters

builder

A GArrowLargeBinaryArrayBuilder.

 

value

A binary value.

[array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_binary_array_builder_append_value_bytes ()

gboolean
garrow_large_binary_array_builder_append_value_bytes
                               (GArrowLargeBinaryArrayBuilder *builder,
                                GBytes *value,
                                GError **error);

Parameters

builder

A GArrowLargeBinaryArrayBuilder.

 

value

A binary value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_binary_array_builder_append_values ()

gboolean
garrow_large_binary_array_builder_append_values
                               (GArrowLargeBinaryArrayBuilder *builder,
                                GBytes **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowLargeBinaryArrayBuilder.

 

values

The array of GBytes.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_binary_array_builder_append_null ()

gboolean
garrow_large_binary_array_builder_append_null
                               (GArrowLargeBinaryArrayBuilder *builder,
                                GError **error);

garrow_large_binary_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowLargeBinaryArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_binary_array_builder_append_nulls ()

gboolean
garrow_large_binary_array_builder_append_nulls
                               (GArrowLargeBinaryArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_large_binary_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

[skip]

Parameters

builder

A GArrowLargeBinaryArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_string_array_builder_new ()

GArrowStringArrayBuilder *
garrow_string_array_builder_new (void);

Returns

A newly created GArrowStringArrayBuilder.


garrow_string_array_builder_append ()

gboolean
garrow_string_array_builder_append (GArrowStringArrayBuilder *builder,
                                    const gchar *value,
                                    GError **error);

garrow_string_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_string_array_builder_append_value() instead.

Parameters

builder

A GArrowStringArrayBuilder.

 

value

A string value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_string_array_builder_append_value ()

gboolean
garrow_string_array_builder_append_value
                               (GArrowStringArrayBuilder *builder,
                                const gchar *value,
                                GError **error);

garrow_string_array_builder_append_value has been deprecated since version 1.0.0 and should not be used in newly-written code.

Use garrow_string_array_builder_append_string() instead.

[skip]

Parameters

builder

A GArrowStringArrayBuilder.

 

value

A string value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_string_array_builder_append_string ()

gboolean
garrow_string_array_builder_append_string
                               (GArrowStringArrayBuilder *builder,
                                const gchar *value,
                                GError **error);

Parameters

builder

A GArrowStringArrayBuilder.

 

value

A string value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_string_array_builder_append_values ()

gboolean
garrow_string_array_builder_append_values
                               (GArrowStringArrayBuilder *builder,
                                const gchar **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

garrow_string_array_builder_append_values has been deprecated since version 1.0.0 and should not be used in newly-written code.

Use garrow_string_array_builder_append_strings() instead.

Append multiple values at once. It's more efficient than multiple append and append_null calls.

[skip]

Parameters

builder

A GArrowStringArrayBuilder.

 

values

The array of strings.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.10.0


garrow_string_array_builder_append_strings ()

gboolean
garrow_string_array_builder_append_strings
                               (GArrowStringArrayBuilder *builder,
                                const gchar **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowStringArrayBuilder.

 

values

The array of strings.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_string_array_builder_new ()

GArrowLargeStringArrayBuilder *
garrow_large_string_array_builder_new (void);

Returns

A newly created GArrowLargeStringArrayBuilder.

Since: 0.16.0


garrow_large_string_array_builder_append_string ()

gboolean
garrow_large_string_array_builder_append_string
                               (GArrowLargeStringArrayBuilder *builder,
                                const gchar *value,
                                GError **error);

Parameters

builder

A GArrowLargeStringArrayBuilder.

 

value

A string value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_large_string_array_builder_append_strings ()

gboolean
garrow_large_string_array_builder_append_strings
                               (GArrowLargeStringArrayBuilder *builder,
                                const gchar **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowLargeStringArrayBuilder.

 

values

The array of strings.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.16.0


garrow_fixed_size_binary_array_builder_new ()

GArrowFixedSizeBinaryArrayBuilder *
garrow_fixed_size_binary_array_builder_new
                               (GArrowFixedSizeBinaryDataType *data_type);

Parameters

data_type

A GArrowFixedSizeBinaryDataType for created array.

 

Returns

A newly created GArrowFixedSizeBinaryArrayBuilder.


garrow_fixed_size_binary_array_builder_append_value ()

gboolean
garrow_fixed_size_binary_array_builder_append_value
                               (GArrowFixedSizeBinaryArrayBuilder *builder,
                                const guint8 *value,
                                gint32 length,
                                GError **error);

Parameters

builder

A GArrowFixedSizeBinaryArrayBuilder.

 

value

A binary value.

[nullable][array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_fixed_size_binary_array_builder_append_value_bytes ()

gboolean
garrow_fixed_size_binary_array_builder_append_value_bytes
                               (GArrowFixedSizeBinaryArrayBuilder *builder,
                                GBytes *value,
                                GError **error);

Parameters

builder

A GArrowFixedSizeBinaryArrayBuilder.

 

value

A binary value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_fixed_size_binary_array_builder_append_values ()

gboolean
garrow_fixed_size_binary_array_builder_append_values
                               (GArrowFixedSizeBinaryArrayBuilder *builder,
                                GBytes **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowFixedSizeBinaryArrayBuilder.

 

values

The array of GBytes.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_fixed_size_binary_array_builder_append_values_packed ()

gboolean
garrow_fixed_size_binary_array_builder_append_values_packed
                               (GArrowFixedSizeBinaryArrayBuilder *builder,
                                GBytes *values,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

This is more efficient than garrow_fixed_size_binary_array_builder_append_values().

Parameters

builder

A GArrowFixedSizeBinaryArrayBuilder.

 

values

A GBytes that contains multiple values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_date32_array_builder_new ()

GArrowDate32ArrayBuilder *
garrow_date32_array_builder_new (void);

Returns

A newly created GArrowDate32ArrayBuilder.

Since: 0.7.0


garrow_date32_array_builder_append ()

gboolean
garrow_date32_array_builder_append (GArrowDate32ArrayBuilder *builder,
                                    gint32 value,
                                    GError **error);

garrow_date32_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_date32_array_builder_append_value() instead.

Parameters

builder

A GArrowDate32ArrayBuilder.

 

value

The number of days since UNIX epoch in signed 32bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_date32_array_builder_append_value ()

gboolean
garrow_date32_array_builder_append_value
                               (GArrowDate32ArrayBuilder *builder,
                                gint32 value,
                                GError **error);

Parameters

builder

A GArrowDate32ArrayBuilder.

 

value

The number of days since UNIX epoch in signed 32bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_date32_array_builder_append_values ()

gboolean
garrow_date32_array_builder_append_values
                               (GArrowDate32ArrayBuilder *builder,
                                const gint32 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowDate32ArrayBuilder.

 

values

The array of the number of days since UNIX epoch in signed 32bit integer.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_date32_array_builder_append_null ()

gboolean
garrow_date32_array_builder_append_null
                               (GArrowDate32ArrayBuilder *builder,
                                GError **error);

garrow_date32_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowDate32ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_date32_array_builder_append_nulls ()

gboolean
garrow_date32_array_builder_append_nulls
                               (GArrowDate32ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_date32_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowDate32ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_date64_array_builder_new ()

GArrowDate64ArrayBuilder *
garrow_date64_array_builder_new (void);

Returns

A newly created GArrowDate64ArrayBuilder.

Since: 0.7.0


garrow_date64_array_builder_append ()

gboolean
garrow_date64_array_builder_append (GArrowDate64ArrayBuilder *builder,
                                    gint64 value,
                                    GError **error);

garrow_date64_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_date64_array_builder_append_value() instead.

Parameters

builder

A GArrowDate64ArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_date64_array_builder_append_value ()

gboolean
garrow_date64_array_builder_append_value
                               (GArrowDate64ArrayBuilder *builder,
                                gint64 value,
                                GError **error);

Parameters

builder

A GArrowDate64ArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_date64_array_builder_append_values ()

gboolean
garrow_date64_array_builder_append_values
                               (GArrowDate64ArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowDate64ArrayBuilder.

 

values

The array of the number of milliseconds since UNIX epoch in signed 64bit integer.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_date64_array_builder_append_null ()

gboolean
garrow_date64_array_builder_append_null
                               (GArrowDate64ArrayBuilder *builder,
                                GError **error);

garrow_date64_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowDate64ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_date64_array_builder_append_nulls ()

gboolean
garrow_date64_array_builder_append_nulls
                               (GArrowDate64ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_date64_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowDate64ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_timestamp_array_builder_new ()

GArrowTimestampArrayBuilder *
garrow_timestamp_array_builder_new (GArrowTimestampDataType *data_type);

Parameters

data_type

A GArrowTimestampDataType.

 

Returns

A newly created GArrowTimestampArrayBuilder.

Since: 0.7.0


garrow_timestamp_array_builder_append ()

gboolean
garrow_timestamp_array_builder_append (GArrowTimestampArrayBuilder *builder,
                                       gint64 value,
                                       GError **error);

garrow_timestamp_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_timestamp_array_builder_append_value() instead.

Parameters

builder

A GArrowTimestampArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_timestamp_array_builder_append_value ()

gboolean
garrow_timestamp_array_builder_append_value
                               (GArrowTimestampArrayBuilder *builder,
                                gint64 value,
                                GError **error);

Parameters

builder

A GArrowTimestampArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_timestamp_array_builder_append_values ()

gboolean
garrow_timestamp_array_builder_append_values
                               (GArrowTimestampArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowTimestampArrayBuilder.

 

values

The array of the number of milliseconds since UNIX epoch in signed 64bit integer.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_timestamp_array_builder_append_null ()

gboolean
garrow_timestamp_array_builder_append_null
                               (GArrowTimestampArrayBuilder *builder,
                                GError **error);

garrow_timestamp_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowTimestampArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_timestamp_array_builder_append_nulls ()

gboolean
garrow_timestamp_array_builder_append_nulls
                               (GArrowTimestampArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_timestamp_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowTimestampArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_time32_array_builder_new ()

GArrowTime32ArrayBuilder *
garrow_time32_array_builder_new (GArrowTime32DataType *data_type);

Parameters

data_type

A GArrowTime32DataType.

 

Returns

A newly created GArrowTime32ArrayBuilder.

Since: 0.7.0


garrow_time32_array_builder_append ()

gboolean
garrow_time32_array_builder_append (GArrowTime32ArrayBuilder *builder,
                                    gint32 value,
                                    GError **error);

garrow_time32_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_time32_array_builder_append_value() instead.

Parameters

builder

A GArrowTime32ArrayBuilder.

 

value

The number of days since UNIX epoch in signed 32bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_time32_array_builder_append_value ()

gboolean
garrow_time32_array_builder_append_value
                               (GArrowTime32ArrayBuilder *builder,
                                gint32 value,
                                GError **error);

Parameters

builder

A GArrowTime32ArrayBuilder.

 

value

The number of days since UNIX epoch in signed 32bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_time32_array_builder_append_values ()

gboolean
garrow_time32_array_builder_append_values
                               (GArrowTime32ArrayBuilder *builder,
                                const gint32 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowTime32ArrayBuilder.

 

values

The array of the number of days since UNIX epoch in signed 32bit integer.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_time32_array_builder_append_null ()

gboolean
garrow_time32_array_builder_append_null
                               (GArrowTime32ArrayBuilder *builder,
                                GError **error);

garrow_time32_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowTime32ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_time32_array_builder_append_nulls ()

gboolean
garrow_time32_array_builder_append_nulls
                               (GArrowTime32ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_time32_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowTime32ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_time64_array_builder_new ()

GArrowTime64ArrayBuilder *
garrow_time64_array_builder_new (GArrowTime64DataType *data_type);

Parameters

data_type

A GArrowTime64DataType.

 

Returns

A newly created GArrowTime64ArrayBuilder.

Since: 0.7.0


garrow_time64_array_builder_append ()

gboolean
garrow_time64_array_builder_append (GArrowTime64ArrayBuilder *builder,
                                    gint64 value,
                                    GError **error);

garrow_time64_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_time64_array_builder_append_value() instead.

Parameters

builder

A GArrowTime64ArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_time64_array_builder_append_value ()

gboolean
garrow_time64_array_builder_append_value
                               (GArrowTime64ArrayBuilder *builder,
                                gint64 value,
                                GError **error);

Parameters

builder

A GArrowTime64ArrayBuilder.

 

value

The number of milliseconds since UNIX epoch in signed 64bit integer.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_time64_array_builder_append_values ()

gboolean
garrow_time64_array_builder_append_values
                               (GArrowTime64ArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowTime64ArrayBuilder.

 

values

The array of the number of milliseconds since UNIX epoch in signed 64bit integer.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_time64_array_builder_append_null ()

gboolean
garrow_time64_array_builder_append_null
                               (GArrowTime64ArrayBuilder *builder,
                                GError **error);

garrow_time64_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowTime64ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.7.0


garrow_time64_array_builder_append_nulls ()

gboolean
garrow_time64_array_builder_append_nulls
                               (GArrowTime64ArrayBuilder *builder,
                                gint64 n,
                                GError **error);

garrow_time64_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowTime64ArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.8.0


garrow_binary_dictionary_array_builder_new ()

GArrowBinaryDictionaryArrayBuilder *
garrow_binary_dictionary_array_builder_new
                               (void);

Returns

A newly created GArrowBinaryDictionaryArrayBuilder.

Since: 2.0.0


garrow_binary_dictionary_array_builder_append_null ()

gboolean
garrow_binary_dictionary_array_builder_append_null
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                GError **error);

garrow_binary_dictionary_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_append_value ()

gboolean
garrow_binary_dictionary_array_builder_append_value
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                const guint8 *value,
                                gint32 length,
                                GError **error);

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

value

A binary value.

[array length=length]

length

A value length.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_append_value_bytes ()

gboolean
garrow_binary_dictionary_array_builder_append_value_bytes
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                GBytes *value,
                                GError **error);

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

value

A binary value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_append_array ()

gboolean
garrow_binary_dictionary_array_builder_append_array
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                GArrowBinaryArray *array,
                                GError **error);

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

array

A GArrowBinaryArray.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_append_indices ()

gboolean
garrow_binary_dictionary_array_builder_append_indices
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append dictionary indices directly without modifying the internal memo.

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

values

The array of indices.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of TRUE or FALSE that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_get_dictionary_length ()

gint64
garrow_binary_dictionary_array_builder_get_dictionary_length
                               (GArrowBinaryDictionaryArrayBuilder *builder);

Parameters

Returns

A number of entries in the dicitonary.

Since: 2.0.0


garrow_binary_dictionary_array_builder_finish_delta ()

gboolean
garrow_binary_dictionary_array_builder_finish_delta
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                GArrowArray **out_indices,
                                GArrowArray **out_delta,
                                GError **error);

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

out_indices

The built GArrowArray containing indices.

[out]

out_delta

The built GArrowArray containing dictionary.

[out]

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_insert_memo_values ()

gboolean
garrow_binary_dictionary_array_builder_insert_memo_values
                               (GArrowBinaryDictionaryArrayBuilder *builder,
                                GArrowBinaryArray *values,
                                GError **error);

Parameters

builder

A GArrowBinaryDictionaryArrayBuilder.

 

values

A GArrowBinaryArray.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_binary_dictionary_array_builder_reset_full ()

void
garrow_binary_dictionary_array_builder_reset_full
                               (GArrowBinaryDictionaryArrayBuilder *builder);

Reset and also clear accumulated dictionary values in memo table.

Parameters

Since: 2.0.0


garrow_string_dictionary_array_builder_new ()

GArrowStringDictionaryArrayBuilder *
garrow_string_dictionary_array_builder_new
                               (void);

Returns

A newly created GArrowStringDictionaryArrayBuilder.

Since: 2.0.0


garrow_string_dictionary_array_builder_append_null ()

gboolean
garrow_string_dictionary_array_builder_append_null
                               (GArrowStringDictionaryArrayBuilder *builder,
                                GError **error);

garrow_string_dictionary_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_append_string ()

gboolean
garrow_string_dictionary_array_builder_append_string
                               (GArrowStringDictionaryArrayBuilder *builder,
                                const gchar *value,
                                GError **error);

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

value

A string value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_append_array ()

gboolean
garrow_string_dictionary_array_builder_append_array
                               (GArrowStringDictionaryArrayBuilder *builder,
                                GArrowStringArray *array,
                                GError **error);

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

array

A GArrowStringArray.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_append_indices ()

gboolean
garrow_string_dictionary_array_builder_append_indices
                               (GArrowStringDictionaryArrayBuilder *builder,
                                const gint64 *values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append dictionary indices directly without modifying the internal memo.

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

values

The array of indices.

[array length=values_length]

values_length

The length of values.

 

is_valids

The array of TRUE or FALSE that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_get_dictionary_length ()

gint64
garrow_string_dictionary_array_builder_get_dictionary_length
                               (GArrowStringDictionaryArrayBuilder *builder);

Parameters

Returns

A number of entries in the dicitonary.

Since: 2.0.0


garrow_string_dictionary_array_builder_finish_delta ()

gboolean
garrow_string_dictionary_array_builder_finish_delta
                               (GArrowStringDictionaryArrayBuilder *builder,
                                GArrowArray **out_indices,
                                GArrowArray **out_delta,
                                GError **error);

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

out_indices

The built GArrowArray containing indices.

[out]

out_delta

The built GArrowArray containing dictionary.

[out]

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_insert_memo_values ()

gboolean
garrow_string_dictionary_array_builder_insert_memo_values
                               (GArrowStringDictionaryArrayBuilder *builder,
                                GArrowStringArray *values,
                                GError **error);

Parameters

builder

A GArrowStringDictionaryArrayBuilder.

 

values

A GArrowStringArray.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 2.0.0


garrow_string_dictionary_array_builder_reset_full ()

void
garrow_string_dictionary_array_builder_reset_full
                               (GArrowStringDictionaryArrayBuilder *builder);

Reset and also clear accumulated dictionary values in memo table.

Parameters

Since: 2.0.0


garrow_list_array_builder_new ()

GArrowListArrayBuilder *
garrow_list_array_builder_new (GArrowListDataType *data_type,
                               GError **error);

Parameters

data_type

A GArrowListDataType for value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GArrowListArrayBuilder.


garrow_list_array_builder_append ()

gboolean
garrow_list_array_builder_append (GArrowListArrayBuilder *builder,
                                  GError **error);

garrow_list_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_list_array_builder_append_value() instead.

Parameters

builder

A GArrowListArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new list element. To append a new list element, you need to call this function then append list element values to value_builder. value_builder is the GArrowArrayBuilder specified to constructor. You can get value_builder by garrow_list_array_builder_get_value_builder().

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
GArrowInt8ArrayBuilder *value_builder;
GArrowListArrayBuilder *builder;
value_builder = garrow_int8_array_builder_new();
builder = garrow_list_array_builder_new(value_builder, NULL);
// Start 0th list element: [1, 0, -1]
garrow_list_array_builder_append(builder, NULL);
garrow_int8_array_builder_append(value_builder, 1);
garrow_int8_array_builder_append(value_builder, 0);
garrow_int8_array_builder_append(value_builder, -1);
// Start 1st list element: [-29, 29]
garrow_list_array_builder_append(builder, NULL);
garrow_int8_array_builder_append(value_builder, -29);
garrow_int8_array_builder_append(value_builder, 29);
{
// [[1, 0, -1], [-29, 29]]
GArrowArray *array = garrow_array_builder_finish(builder);
// Now, builder is needless.
g_object_unref(builder);
g_object_unref(value_builder);
// Use array...
g_object_unref(array);
}


garrow_list_array_builder_append_value ()

gboolean
garrow_list_array_builder_append_value
                               (GArrowListArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowListArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new list element. To append a new list element, you need to call this function then append list element values to value_builder. value_builder is the GArrowArrayBuilder specified to constructor. You can get value_builder by garrow_list_array_builder_get_value_builder().

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
GArrowInt8ArrayBuilder *value_builder;
GArrowListArrayBuilder *builder;
value_builder = garrow_int8_array_builder_new();
builder = garrow_list_array_builder_new(value_builder, NULL);
// Start 0th list element: [1, 0, -1]
garrow_list_array_builder_append(builder, NULL);
garrow_int8_array_builder_append(value_builder, 1);
garrow_int8_array_builder_append(value_builder, 0);
garrow_int8_array_builder_append(value_builder, -1);
// Start 1st list element: [-29, 29]
garrow_list_array_builder_append(builder, NULL);
garrow_int8_array_builder_append(value_builder, -29);
garrow_int8_array_builder_append(value_builder, 29);
{
// [[1, 0, -1], [-29, 29]]
GArrowArray *array = garrow_array_builder_finish(builder);
// Now, builder is needless.
g_object_unref(builder);
g_object_unref(value_builder);
// Use array...
g_object_unref(array);
}

Since: 0.12.0


garrow_list_array_builder_append_null ()

gboolean
garrow_list_array_builder_append_null (GArrowListArrayBuilder *builder,
                                       GError **error);

garrow_list_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowListArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new NULL element.


garrow_list_array_builder_get_value_builder ()

GArrowArrayBuilder *
garrow_list_array_builder_get_value_builder
                               (GArrowListArrayBuilder *builder);

Parameters

builder

A GArrowListArrayBuilder.

 

Returns

The GArrowArrayBuilder for values.

[transfer none]


garrow_large_list_array_builder_new ()

GArrowLargeListArrayBuilder *
garrow_large_list_array_builder_new (GArrowLargeListDataType *data_type,
                                     GError **error);

Parameters

data_type

A GArrowLargeListDataType for value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GArrowLargeListArrayBuilder.

Since: 0.16.0


garrow_large_list_array_builder_append_value ()

gboolean
garrow_large_list_array_builder_append_value
                               (GArrowLargeListArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowLargeListArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new list element. To append a new list element, you need to call this function then append list element values to value_builder. value_builder is the GArrowArrayBuilder specified to constructor. You can get value_builder by garrow_large_list_array_builder_get_value_builder().

Since: 0.16.0


garrow_large_list_array_builder_append_null ()

gboolean
garrow_large_list_array_builder_append_null
                               (GArrowLargeListArrayBuilder *builder,
                                GError **error);

garrow_large_list_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowLargeListArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new NULL element.

Since: 0.16.0


garrow_large_list_array_builder_get_value_builder ()

GArrowArrayBuilder *
garrow_large_list_array_builder_get_value_builder
                               (GArrowLargeListArrayBuilder *builder);

Parameters

Returns

The GArrowArrayBuilder for values.

[transfer none]

Since: 0.16.0


garrow_struct_array_builder_new ()

GArrowStructArrayBuilder *
garrow_struct_array_builder_new (GArrowStructDataType *data_type,
                                 GError **error);

Parameters

data_type

GArrowStructDataType for the struct.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GArrowStructArrayBuilder.


garrow_struct_array_builder_append ()

gboolean
garrow_struct_array_builder_append (GArrowStructArrayBuilder *builder,
                                    GError **error);

garrow_struct_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_struct_array_builder_append_value() instead.

Parameters

builder

A GArrowStructArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new struct element. To append a new struct element, you need to call this function then append struct element field values to all field_builders. field_values are the GArrowArrayBuilder specified to constructor. You can get field_builder by garrow_struct_array_builder_get_field_builder() or garrow_struct_array_builder_get_field_builders().

1
// TODO


garrow_struct_array_builder_append_value ()

gboolean
garrow_struct_array_builder_append_value
                               (GArrowStructArrayBuilder *builder,
                                GError **error);

Parameters

builder

A GArrowStructArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new struct element. To append a new struct element, you need to call this function then append struct element field values to all field_builders. field_values are the GArrowArrayBuilder specified to constructor. You can get field_builder by garrow_struct_array_builder_get_field_builder() or garrow_struct_array_builder_get_field_builders().

1
// TODO

Since: 0.12.0


garrow_struct_array_builder_append_null ()

gboolean
garrow_struct_array_builder_append_null
                               (GArrowStructArrayBuilder *builder,
                                GError **error);

garrow_struct_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowStructArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new NULL element.


garrow_struct_array_builder_get_field_builder ()

GArrowArrayBuilder *
garrow_struct_array_builder_get_field_builder
                               (GArrowStructArrayBuilder *builder,
                                gint i);

Parameters

builder

A GArrowStructArrayBuilder.

 

i

The index of the field in the struct.

 

Returns

The GArrowArrayBuilder for the i-th field.

[transfer none]


garrow_struct_array_builder_get_field_builders ()

GList *
garrow_struct_array_builder_get_field_builders
                               (GArrowStructArrayBuilder *builder);

Parameters

builder

A GArrowStructArrayBuilder.

 

Returns

The GArrowArrayBuilder for all fields.

[element-type GArrowArray][transfer none]


garrow_map_array_builder_new ()

GArrowMapArrayBuilder *
garrow_map_array_builder_new (GArrowMapDataType *data_type,
                              GError **error);

Parameters

data_type

GArrowMapDataType for the map.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly created GArrowMapArrayBuilder on success, NULL on error.

[nullable]

Since: 0.17.0


garrow_map_array_builder_append_value ()

gboolean
garrow_map_array_builder_append_value (GArrowMapArrayBuilder *builder,
                                       GError **error);

Parameters

builder

A GArrowMapArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.17.0


garrow_map_array_builder_append_values ()

gboolean
garrow_map_array_builder_append_values
                               (GArrowMapArrayBuilder *builder,
                                const gint32 *offsets,
                                gint64 offsets_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowMapArrayBuilder.

 

offsets

The array of signed int.

[array length=offsets_length]

offsets_length

The length of offsets.

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.17.0


garrow_map_array_builder_append_null ()

gboolean
garrow_map_array_builder_append_null (GArrowMapArrayBuilder *builder,
                                      GError **error);

garrow_map_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowMapArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.17.0


garrow_map_array_builder_append_nulls ()

gboolean
garrow_map_array_builder_append_nulls (GArrowMapArrayBuilder *builder,
                                       gint64 n,
                                       GError **error);

garrow_map_array_builder_append_nulls has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_nulls() instead.

Append multiple nulls at once. It's more efficient than multiple append_null calls.

[skip]

Parameters

builder

A GArrowMapArrayBuilder.

 

n

The number of null values to be appended.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.17.0


garrow_map_array_builder_get_key_builder ()

GArrowArrayBuilder *
garrow_map_array_builder_get_key_builder
                               (GArrowMapArrayBuilder *builder);

Parameters

builder

A GArrowMapArrayBuilder.

 

Returns

The GArrowArrayBuilder for key values.

[transfer none]

Since: 0.17.0


garrow_map_array_builder_get_item_builder ()

GArrowArrayBuilder *
garrow_map_array_builder_get_item_builder
                               (GArrowMapArrayBuilder *builder);

Parameters

builder

A GArrowMapArrayBuilder.

 

Returns

The GArrowArrayBuilder for item values.

[transfer none]

Since: 0.17.0


garrow_map_array_builder_get_value_builder ()

GArrowArrayBuilder *
garrow_map_array_builder_get_value_builder
                               (GArrowMapArrayBuilder *builder);

Parameters

builder

A GArrowMapArrayBuilder.

 

Returns

The GArrowArrayBuilder to add map entries as struct values. This can be used instead of garrow_map_array_builder_get_key_builder() and garrow_map_array_builder_get_item_builder(). You can build map entries as a list of struct values with this builder.

[transfer none]

Since: 0.17.0


garrow_decimal128_array_builder_new ()

GArrowDecimal128ArrayBuilder *
garrow_decimal128_array_builder_new (GArrowDecimal128DataType *data_type);

Parameters

data_type

GArrowDecimal128DataType for the decimal.

 

Returns

A newly created GArrowDecimal128ArrayBuilder.

Since: 0.10.0


garrow_decimal128_array_builder_append ()

gboolean
garrow_decimal128_array_builder_append
                               (GArrowDecimal128ArrayBuilder *builder,
                                GArrowDecimal128 *value,
                                GError **error);

garrow_decimal128_array_builder_append has been deprecated since version 0.12.0 and should not be used in newly-written code.

Use garrow_decimal128_array_builder_append_value() instead.

Parameters

builder

A GArrowDecimal128ArrayBuilder.

 

value

A decimal value.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.10.0


garrow_decimal128_array_builder_append_value ()

gboolean
garrow_decimal128_array_builder_append_value
                               (GArrowDecimal128ArrayBuilder *builder,
                                GArrowDecimal128 *value,
                                GError **error);

Parameters

builder

A GArrowDecimal128ArrayBuilder.

 

value

A decimal value.

[nullable]

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 0.12.0


garrow_decimal128_array_builder_append_values ()

gboolean
garrow_decimal128_array_builder_append_values
                               (GArrowDecimal128ArrayBuilder *builder,
                                GArrowDecimal128 **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowDecimal128ArrayBuilder.

 

values

The array of GArrowDecimal128.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_decimal128_array_builder_append_null ()

gboolean
garrow_decimal128_array_builder_append_null
                               (GArrowDecimal128ArrayBuilder *builder,
                                GError **error);

garrow_decimal128_array_builder_append_null has been deprecated since version 3.0.0 and should not be used in newly-written code.

Use garrow_array_builder_append_null() instead.

[skip]

Parameters

builder

A GArrowDecimal128ArrayBuilder.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

It appends a new NULL element.

Since: 0.12.0


garrow_decimal256_array_builder_new ()

GArrowDecimal256ArrayBuilder *
garrow_decimal256_array_builder_new (GArrowDecimal256DataType *data_type);

Parameters

data_type

GArrowDecimal256DataType for the decimal.

 

Returns

A newly created GArrowDecimal256ArrayBuilder.

Since: 3.0.0


garrow_decimal256_array_builder_append_value ()

gboolean
garrow_decimal256_array_builder_append_value
                               (GArrowDecimal256ArrayBuilder *builder,
                                GArrowDecimal256 *value,
                                GError **error);

Parameters

builder

A GArrowDecimal256ArrayBuilder.

 

value

A decimal value.

[nullable]

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0


garrow_decimal256_array_builder_append_values ()

gboolean
garrow_decimal256_array_builder_append_values
                               (GArrowDecimal256ArrayBuilder *builder,
                                GArrowDecimal256 **values,
                                gint64 values_length,
                                const gboolean *is_valids,
                                gint64 is_valids_length,
                                GError **error);

Append multiple values at once. It's more efficient than multiple append and append_null calls.

Parameters

builder

A GArrowDecimal256ArrayBuilder.

 

values

The array of GArrowDecimal256.

[array length=values_length]

values_length

The length of values .

 

is_valids

The array of boolean that shows whether the Nth value is valid or not. If the Nth is_valids is TRUE, the Nth values is valid value. Otherwise the Nth value is null value.

[nullable][array length=is_valids_length]

is_valids_length

The length of is_valids .

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Since: 3.0.0

Types and Values

GARROW_TYPE_ARRAY_BUILDER

#define GARROW_TYPE_ARRAY_BUILDER (garrow_array_builder_get_type())

struct GArrowArrayBuilderClass

struct GArrowArrayBuilderClass {
  GObjectClass parent_class;
};

GARROW_TYPE_NULL_ARRAY_BUILDER

#define GARROW_TYPE_NULL_ARRAY_BUILDER (garrow_null_array_builder_get_type())

struct GArrowNullArrayBuilderClass

struct GArrowNullArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_BOOLEAN_ARRAY_BUILDER

#define             GARROW_TYPE_BOOLEAN_ARRAY_BUILDER

struct GArrowBooleanArrayBuilderClass

struct GArrowBooleanArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_INT_ARRAY_BUILDER

#define GARROW_TYPE_INT_ARRAY_BUILDER (garrow_int_array_builder_get_type())

struct GArrowIntArrayBuilderClass

struct GArrowIntArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_UINT_ARRAY_BUILDER

#define GARROW_TYPE_UINT_ARRAY_BUILDER (garrow_uint_array_builder_get_type())

struct GArrowUIntArrayBuilderClass

struct GArrowUIntArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_INT8_ARRAY_BUILDER

#define GARROW_TYPE_INT8_ARRAY_BUILDER (garrow_int8_array_builder_get_type())

struct GArrowInt8ArrayBuilderClass

struct GArrowInt8ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_UINT8_ARRAY_BUILDER

#define GARROW_TYPE_UINT8_ARRAY_BUILDER (garrow_uint8_array_builder_get_type())

struct GArrowUInt8ArrayBuilderClass

struct GArrowUInt8ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_INT16_ARRAY_BUILDER

#define GARROW_TYPE_INT16_ARRAY_BUILDER (garrow_int16_array_builder_get_type())

struct GArrowInt16ArrayBuilderClass

struct GArrowInt16ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_UINT16_ARRAY_BUILDER

#define             GARROW_TYPE_UINT16_ARRAY_BUILDER

struct GArrowUInt16ArrayBuilderClass

struct GArrowUInt16ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_INT32_ARRAY_BUILDER

#define GARROW_TYPE_INT32_ARRAY_BUILDER (garrow_int32_array_builder_get_type())

struct GArrowInt32ArrayBuilderClass

struct GArrowInt32ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_UINT32_ARRAY_BUILDER

#define             GARROW_TYPE_UINT32_ARRAY_BUILDER

struct GArrowUInt32ArrayBuilderClass

struct GArrowUInt32ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_INT64_ARRAY_BUILDER

#define GARROW_TYPE_INT64_ARRAY_BUILDER (garrow_int64_array_builder_get_type())

struct GArrowInt64ArrayBuilderClass

struct GArrowInt64ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_UINT64_ARRAY_BUILDER

#define             GARROW_TYPE_UINT64_ARRAY_BUILDER

struct GArrowUInt64ArrayBuilderClass

struct GArrowUInt64ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_FLOAT_ARRAY_BUILDER

#define GARROW_TYPE_FLOAT_ARRAY_BUILDER (garrow_float_array_builder_get_type())

struct GArrowFloatArrayBuilderClass

struct GArrowFloatArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_DOUBLE_ARRAY_BUILDER

#define             GARROW_TYPE_DOUBLE_ARRAY_BUILDER

struct GArrowDoubleArrayBuilderClass

struct GArrowDoubleArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_BINARY_ARRAY_BUILDER

#define             GARROW_TYPE_BINARY_ARRAY_BUILDER

struct GArrowBinaryArrayBuilderClass

struct GArrowBinaryArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_LARGE_BINARY_ARRAY_BUILDER

#define             GARROW_TYPE_LARGE_BINARY_ARRAY_BUILDER

struct GArrowLargeBinaryArrayBuilderClass

struct GArrowLargeBinaryArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_STRING_ARRAY_BUILDER

#define             GARROW_TYPE_STRING_ARRAY_BUILDER

struct GArrowStringArrayBuilderClass

struct GArrowStringArrayBuilderClass {
  GArrowBinaryArrayBuilderClass parent_class;
};

GARROW_TYPE_LARGE_STRING_ARRAY_BUILDER

#define             GARROW_TYPE_LARGE_STRING_ARRAY_BUILDER

struct GArrowLargeStringArrayBuilderClass

struct GArrowLargeStringArrayBuilderClass {
  GArrowLargeBinaryArrayBuilderClass parent_class;
};

GARROW_TYPE_FIXED_SIZE_BINARY_ARRAY_BUILDER

#define             GARROW_TYPE_FIXED_SIZE_BINARY_ARRAY_BUILDER

struct GArrowFixedSizeBinaryArrayBuilderClass

struct GArrowFixedSizeBinaryArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_DATE32_ARRAY_BUILDER

#define             GARROW_TYPE_DATE32_ARRAY_BUILDER

struct GArrowDate32ArrayBuilderClass

struct GArrowDate32ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_DATE64_ARRAY_BUILDER

#define             GARROW_TYPE_DATE64_ARRAY_BUILDER

struct GArrowDate64ArrayBuilderClass

struct GArrowDate64ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_TIMESTAMP_ARRAY_BUILDER

#define             GARROW_TYPE_TIMESTAMP_ARRAY_BUILDER

struct GArrowTimestampArrayBuilderClass

struct GArrowTimestampArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_TIME32_ARRAY_BUILDER

#define             GARROW_TYPE_TIME32_ARRAY_BUILDER

struct GArrowTime32ArrayBuilderClass

struct GArrowTime32ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_TIME64_ARRAY_BUILDER

#define             GARROW_TYPE_TIME64_ARRAY_BUILDER

struct GArrowTime64ArrayBuilderClass

struct GArrowTime64ArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_BINARY_DICTIONARY_ARRAY_BUILDER

#define GARROW_TYPE_BINARY_DICTIONARY_ARRAY_BUILDER (garrow_binary_dictionary_array_builder_get_type())

struct GArrowBinaryDictionaryArrayBuilderClass

struct GArrowBinaryDictionaryArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_STRING_DICTIONARY_ARRAY_BUILDER

#define GARROW_TYPE_STRING_DICTIONARY_ARRAY_BUILDER (garrow_string_dictionary_array_builder_get_type())

struct GArrowStringDictionaryArrayBuilderClass

struct GArrowStringDictionaryArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_LIST_ARRAY_BUILDER

#define GARROW_TYPE_LIST_ARRAY_BUILDER (garrow_list_array_builder_get_type())

struct GArrowListArrayBuilderClass

struct GArrowListArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_LARGE_LIST_ARRAY_BUILDER

#define GARROW_TYPE_LARGE_LIST_ARRAY_BUILDER (garrow_large_list_array_builder_get_type())

struct GArrowLargeListArrayBuilderClass

struct GArrowLargeListArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_STRUCT_ARRAY_BUILDER

#define             GARROW_TYPE_STRUCT_ARRAY_BUILDER

struct GArrowStructArrayBuilderClass

struct GArrowStructArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_MAP_ARRAY_BUILDER

#define             GARROW_TYPE_MAP_ARRAY_BUILDER

struct GArrowMapArrayBuilderClass

struct GArrowMapArrayBuilderClass {
  GArrowArrayBuilderClass parent_class;
};

GARROW_TYPE_DECIMAL128_ARRAY_BUILDER

#define GARROW_TYPE_DECIMAL128_ARRAY_BUILDER (garrow_decimal128_array_builder_get_type())

struct GArrowDecimal128ArrayBuilderClass

struct GArrowDecimal128ArrayBuilderClass {
  GArrowFixedSizeBinaryArrayBuilderClass parent_class;
};

GARROW_TYPE_DECIMAL256_ARRAY_BUILDER

#define GARROW_TYPE_DECIMAL256_ARRAY_BUILDER (garrow_decimal256_array_builder_get_type())

struct GArrowDecimal256ArrayBuilderClass

struct GArrowDecimal256ArrayBuilderClass {
  GArrowFixedSizeBinaryArrayBuilderClass parent_class;
};

GArrowArrayBuilder

typedef struct _GArrowArrayBuilder GArrowArrayBuilder;

GArrowBinaryArrayBuilder

typedef struct _GArrowBinaryArrayBuilder GArrowBinaryArrayBuilder;

GArrowBinaryDictionaryArrayBuilder

typedef struct _GArrowBinaryDictionaryArrayBuilder GArrowBinaryDictionaryArrayBuilder;

GArrowBooleanArrayBuilder

typedef struct _GArrowBooleanArrayBuilder GArrowBooleanArrayBuilder;

GArrowDate32ArrayBuilder

typedef struct _GArrowDate32ArrayBuilder GArrowDate32ArrayBuilder;

GArrowDate64ArrayBuilder

typedef struct _GArrowDate64ArrayBuilder GArrowDate64ArrayBuilder;

GArrowDecimal128ArrayBuilder

typedef struct _GArrowDecimal128ArrayBuilder GArrowDecimal128ArrayBuilder;

GArrowDecimal256ArrayBuilder

typedef struct _GArrowDecimal256ArrayBuilder GArrowDecimal256ArrayBuilder;

GArrowDoubleArrayBuilder

typedef struct _GArrowDoubleArrayBuilder GArrowDoubleArrayBuilder;

GArrowFixedSizeBinaryArrayBuilder

typedef struct _GArrowFixedSizeBinaryArrayBuilder GArrowFixedSizeBinaryArrayBuilder;

GArrowFloatArrayBuilder

typedef struct _GArrowFloatArrayBuilder GArrowFloatArrayBuilder;

GArrowInt16ArrayBuilder

typedef struct _GArrowInt16ArrayBuilder GArrowInt16ArrayBuilder;

GArrowInt32ArrayBuilder

typedef struct _GArrowInt32ArrayBuilder GArrowInt32ArrayBuilder;

GArrowInt64ArrayBuilder

typedef struct _GArrowInt64ArrayBuilder GArrowInt64ArrayBuilder;

GArrowInt8ArrayBuilder

typedef struct _GArrowInt8ArrayBuilder GArrowInt8ArrayBuilder;

GArrowIntArrayBuilder

typedef struct _GArrowIntArrayBuilder GArrowIntArrayBuilder;

GArrowLargeBinaryArrayBuilder

typedef struct _GArrowLargeBinaryArrayBuilder GArrowLargeBinaryArrayBuilder;

GArrowLargeListArrayBuilder

typedef struct _GArrowLargeListArrayBuilder GArrowLargeListArrayBuilder;

GArrowLargeStringArrayBuilder

typedef struct _GArrowLargeStringArrayBuilder GArrowLargeStringArrayBuilder;

GArrowListArrayBuilder

typedef struct _GArrowListArrayBuilder GArrowListArrayBuilder;

GArrowMapArrayBuilder

typedef struct _GArrowMapArrayBuilder GArrowMapArrayBuilder;

GArrowNullArrayBuilder

typedef struct _GArrowNullArrayBuilder GArrowNullArrayBuilder;

GArrowStringArrayBuilder

typedef struct _GArrowStringArrayBuilder GArrowStringArrayBuilder;

GArrowStringDictionaryArrayBuilder

typedef struct _GArrowStringDictionaryArrayBuilder GArrowStringDictionaryArrayBuilder;

GArrowStructArrayBuilder

typedef struct _GArrowStructArrayBuilder GArrowStructArrayBuilder;

GArrowTime32ArrayBuilder

typedef struct _GArrowTime32ArrayBuilder GArrowTime32ArrayBuilder;

GArrowTime64ArrayBuilder

typedef struct _GArrowTime64ArrayBuilder GArrowTime64ArrayBuilder;

GArrowTimestampArrayBuilder

typedef struct _GArrowTimestampArrayBuilder GArrowTimestampArrayBuilder;

GArrowUInt16ArrayBuilder

typedef struct _GArrowUInt16ArrayBuilder GArrowUInt16ArrayBuilder;

GArrowUInt32ArrayBuilder

typedef struct _GArrowUInt32ArrayBuilder GArrowUInt32ArrayBuilder;

GArrowUInt64ArrayBuilder

typedef struct _GArrowUInt64ArrayBuilder GArrowUInt64ArrayBuilder;

GArrowUInt8ArrayBuilder

typedef struct _GArrowUInt8ArrayBuilder GArrowUInt8ArrayBuilder;

GArrowUIntArrayBuilder

typedef struct _GArrowUIntArrayBuilder GArrowUIntArrayBuilder;

Property Details

The “array-builder” property

  “array-builder”            gpointer

The raw arrow::ArrayBuilder *.

Owner: GArrowArrayBuilder

Flags: Write / Construct Only