DenseUnionArray.data_type


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.14.0" ) ]
public DenseUnionArray.data_type (DenseUnionDataType data_type, Int8Array type_ids, Int32Array value_offsets, List<Array> fields) throws Error

Parameters:

data_type

The data type for the dense array.

type_ids

The field type IDs for each value as Int8Array.

value_offsets

The value offsets for each value as Int32Array. Each offset is counted for each type.

fields

The arrays for each field as List of Array.

Returns:

A newly created SparseUnionArray or null on error.