Class

ArrowExtensionDataType

Description

abstract class Arrow.ExtensionDataType : Arrow.DataType
{
  /* No available fields */
}

No description available.

Instance methods

garrow_extension_data_type_get_extension_name
No description available.

since: 3.0.0

garrow_extension_data_type_wrap_array
No description available.

since: 3.0.0

garrow_extension_data_type_wrap_chunked_array
No description available.

since: 3.0.0

Methods inherited from GArrowDataType (5)
garrow_data_type_equal
No description available.

garrow_data_type_export
No description available.

since: 6.0.0

garrow_data_type_get_id
No description available.

garrow_data_type_get_name
No description available.

since: 3.0.0

garrow_data_type_to_string
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Arrow.ExtensionDataType:storage-data-type
No description available.

Properties inherited from GArrowDataType (1)
Arrow.DataType:data-type
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ArrowExtensionDataTypeClass {
  GArrowDataTypeClass parent_class;
  gchar* (* get_extension_name) (
    GArrowExtensionDataType* data_type
  );
  gboolean (* equal) (
    GArrowExtensionDataType* data_type,
    GArrowExtensionDataType* other_data_type
  );
  GArrowDataType* (* deserialize) (
    GArrowExtensionDataType* data_type,
    GArrowDataType* storage_data_type,
    GBytes* serialized_data,
    GError** error
  );
  GBytes* (* serialize) (
    GArrowExtensionDataType* data_type
  );
  GType (* get_array_gtype) (
    GArrowExtensionDataType* data_type
  );
  
}

No description available.

Class members
parent_class: GArrowDataTypeClass

No description available.

get_extension_name: gchar* (* get_extension_name) ( GArrowExtensionDataType* data_type )

It must returns the name of this extension data type.

equal: gboolean (* equal) ( GArrowExtensionDataType* data_type, GArrowExtensionDataType* other_data_type )

It must returns TRUE only when the both data types equal, FALSE otherwise.

deserialize: GArrowDataType* (* deserialize) ( GArrowExtensionDataType* data_type, GArrowDataType* storage_data_type, GBytes* serialized_data, GError** error )

It must returns a serialized GArrowDataType from the given serialized_data.

serialize: GBytes* (* serialize) ( GArrowExtensionDataType* data_type )

It must returns a serialized data of this extension data type to deserialize later.

get_array_gtype: GType (* get_array_gtype) ( GArrowExtensionDataType* data_type )

It must returns GType for corresponding extension array class.

Virtual methods

Arrow.ExtensionDataTypeClass.deserialize

It must returns a serialized GArrowDataType from the given serialized_data.

Arrow.ExtensionDataTypeClass.equal

It must returns TRUE only when the both data types equal, FALSE otherwise.

Arrow.ExtensionDataTypeClass.get_array_gtype

It must returns GType for corresponding extension array class.

Arrow.ExtensionDataTypeClass.get_extension_name

It must returns the name of this extension data type.

since: 3.0.0

Arrow.ExtensionDataTypeClass.serialize

It must returns a serialized data of this extension data type to deserialize later.