Constructor
ArrowDictionaryDataTypenew
since: 0.8.0
Declaration [src]
GArrowDictionaryDataType*
garrow_dictionary_data_type_new (
GArrowDataType* index_data_type,
GArrowDataType* value_data_type,
gboolean ordered
)
Parameters
index_data_type
-
Type:
GArrowDataType
The data type of index.
The data is owned by the caller of the function. value_data_type
-
Type:
GArrowDataType
The data type of dictionary values.
The data is owned by the caller of the function. ordered
-
Type:
gboolean
Whether dictionary contents are ordered or not.
Return value
Type: GArrowDictionaryDataType
The newly created dictionary data type.
The caller of the function takes ownership of the data, and is responsible for freeing it. |