Skip to main content

Module union_extract

Module union_extract 

Source
Expand description

Defines union_extract kernel for [UnionArray]

Re-exportsยง

use crate::take::take; ๐Ÿ”’
use arrow_array::Array; ๐Ÿ”’
use arrow_array::ArrayRef; ๐Ÿ”’
use arrow_array::BooleanArray; ๐Ÿ”’
use arrow_array::Int32Array; ๐Ÿ”’
use arrow_array::Scalar; ๐Ÿ”’
use arrow_array::UnionArray; ๐Ÿ”’
use arrow_array::make_array; ๐Ÿ”’
use arrow_array::new_empty_array; ๐Ÿ”’
use arrow_array::new_null_array; ๐Ÿ”’
use arrow_buffer::BooleanBuffer; ๐Ÿ”’
use arrow_buffer::MutableBuffer; ๐Ÿ”’
use arrow_buffer::NullBuffer; ๐Ÿ”’
use arrow_buffer::ScalarBuffer; ๐Ÿ”’
use arrow_buffer::bit_util; ๐Ÿ”’
use arrow_data::layout; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use arrow_schema::UnionFields; ๐Ÿ”’
use std::cmp::Ordering; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Enumsยง

BoolValue ๐Ÿ”’
The result of checking which type_ids matches the target type_id

Constantsยง

EQ_SCALAR_CHUNK_SIZE ๐Ÿ”’
IS_SEQUENTIAL_CHUNK_SIZE ๐Ÿ”’

Functionsยง

count_first_run ๐Ÿ”’
eq_scalar ๐Ÿ”’
eq_scalar_inner ๐Ÿ”’
extract_dense ๐Ÿ”’
extract_dense_all_selected ๐Ÿ”’
extract_sparse ๐Ÿ”’
is_sequential ๐Ÿ”’
is_sequential_generic ๐Ÿ”’
union_extract
Returns the value of the target field when selected, or NULL otherwise.
union_extract_by_id
Like union_extract, but selects the child by type_id rather than by field name.
union_extract_impl ๐Ÿ”’