Constructor

ArrowDictionaryArraynew

Declaration [src]

GArrowDictionaryArray*
garrow_dictionary_array_new (
  GArrowDataType* data_type,
  GArrowArray* indices,
  GArrowArray* dictionary,
  GError** error
)

Description

No description available.
Available since:0.8.0

Parameters

data_type GArrowDataType
 

The data type of the dictionary array.

 The data is owned by the caller of the function.
indices GArrowArray
 

The indices of values in dictionary.

 The data is owned by the caller of the function.
dictionary GArrowArray
 

The dictionary of the dictionary array.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowDictionaryArray
 

A newly created GArrowDictionaryArray or NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.