Constructor

ArrowDictionaryDataTypenew

Declaration [src]

GArrowDictionaryDataType*
garrow_dictionary_data_type_new (
  GArrowDataType* index_data_type,
  GArrowDataType* value_data_type,
  gboolean ordered
)

Description

No description available.
Available since:0.8.0

Parameters

index_data_type GArrowDataType
 

The data type of index.

 The data is owned by the caller of the function.
value_data_type GArrowDataType
 

The data type of dictionary values.

 The data is owned by the caller of the function.
ordered gboolean
 

Whether dictionary contents are ordered or not.

Return value

Returns: GArrowDictionaryDataType
 

The newly created dictionary data type.

 The caller of the function takes ownership of the data, and is responsible for freeing it.