Skip to main content

Module substring

Module substring 

Source
Expand description

Defines kernel to extract a substring of an Array Supported array types: [GenericStringArray], [GenericBinaryArray], [GenericByteViewArray], [FixedSizeBinaryArray], [DictionaryArray]

Re-exportsยง

use arrow_array::builder::BinaryViewBuilder; ๐Ÿ”’
use arrow_array::builder::StringViewBuilder; ๐Ÿ”’
use arrow_array::cast::AsArray; ๐Ÿ”’
use arrow_buffer::ArrowNativeType; ๐Ÿ”’
use arrow_buffer::MutableBuffer; ๐Ÿ”’
use arrow_buffer::NullBuffer; ๐Ÿ”’
use arrow_buffer::OffsetBuffer; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use num_traits::CheckedAdd; ๐Ÿ”’
use num_traits::Zero; ๐Ÿ”’
use std::cmp::Ordering; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use arrow_array::types::*; ๐Ÿ”’
use arrow_array::*; ๐Ÿ”’

Functionsยง

ascii_bounds ๐Ÿ”’
Returns the start and end byte offset of the substring of an ASCII val, where one char is one byte.
binary_view_substring ๐Ÿ”’
byte_substring ๐Ÿ”’
fixed_size_binary_substring ๐Ÿ”’
i64_to_i32_saturating ๐Ÿ”’
string_view_substring ๐Ÿ”’
substring
Returns an [ArrayRef] with substrings of all the elements in array.
substring_by_char
Substrings based on character index
substring_by_char_impl ๐Ÿ”’
Builds the output of substring_by_char, delegating to bounds to locate the substring of each value.
u64_to_i32_saturating ๐Ÿ”’
u64_to_i64_saturating ๐Ÿ”’
utf8_bounds ๐Ÿ”’
Returns the start and end byte offset of the substring of an arbitrary UTF-8 val.
view_substring_range ๐Ÿ”’
Byte range of one element, following the same rules as byte_substring.