Skip to main content

Module union_array

Module union_array 

Source

Re-exportsยง

use crate::Array; ๐Ÿ”’
use crate::ArrayRef; ๐Ÿ”’
use crate::make_array; ๐Ÿ”’
use arrow_buffer::bit_chunk_iterator::BitChunkIterator; ๐Ÿ”’
use arrow_buffer::bit_chunk_iterator::BitChunks; ๐Ÿ”’
use arrow_buffer::buffer::NullBuffer; ๐Ÿ”’
use arrow_buffer::BooleanBuffer; ๐Ÿ”’
use arrow_buffer::Buffer; ๐Ÿ”’
use arrow_buffer::MutableBuffer; ๐Ÿ”’
use arrow_buffer::ScalarBuffer; ๐Ÿ”’
use arrow_data::ArrayData; ๐Ÿ”’
use arrow_data::ArrayDataBuilder; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use arrow_schema::UnionFields; ๐Ÿ”’
use arrow_schema::UnionMode; ๐Ÿ”’
use std::any::Any; ๐Ÿ”’
use std::collections::HashSet; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Structsยง

UnionArray
An array of values of varying types

Enumsยง

Mask ๐Ÿ”’
SparseStrategy ๐Ÿ”’
How to compute the logical nulls of a sparse union. All strategies return the same result. Those starting with Mask perform bitwise masking for each chunk of 64 values, including computing expensive selection masks of fields: which fields masks must be computed is the difference between them

Functionsยง

selection_mask ๐Ÿ”’
without_nulls_selected ๐Ÿ”’
Returns a bitmask where bits indicate if any id from without_nulls_ids exist in type_ids_chunk.