Module take

Source
Expand description

Defines take kernel for [Array]

Macros§

to_indices_identity πŸ”’
to_indices_reinterpret πŸ”’
to_indices_widening πŸ”’

Structs§

TakeOptions
Options that define how take should behave

Traits§

ToIndices πŸ”’
To avoid generating take implementations for every index type, instead we only generate for UInt32 and UInt64 and coerce inputs to these types

Functions§

check_bounds πŸ”’
Verifies that the non-null values of indices are all < len
maybe_usize πŸ”’
take
Take elements by index from [Array], creating a new [Array] from those indexes.
take_arrays
For each [ArrayRef] in the Vec<ArrayRef>, take elements by index and create a new Vec<ArrayRef> from those indices.
take_bits πŸ”’
take_boolean πŸ”’
take implementation for boolean arrays
take_byte_view πŸ”’
take implementation for byte view arrays
take_bytes πŸ”’
take implementation for string arrays
take_dict πŸ”’
take implementation for dictionary arrays
take_fixed_size_binary πŸ”’
take_fixed_size_list πŸ”’
take implementation for FixedSizeListArray
take_impl πŸ”’
take_list πŸ”’
take implementation for list arrays
take_native πŸ”’
take_nulls πŸ”’
take_primitive πŸ”’
take implementation for all primitive arrays
take_record_batch
Take rows by index from [RecordBatch] and returns a new [RecordBatch] from those indexes.
take_run πŸ”’
take implementation for run arrays
take_value_indices_from_fixed_size_list πŸ”’
Takes/filters a fixed size list array’s inner data using the offsets of the list array.
take_value_indices_from_list πŸ”’
Takes/filters a list array’s inner data using the offsets of the list array.