Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
make_and_append_view in datafusion::functions::strings - Rust
[go: Go Back, main page]

Function make_and_append_view

Source
pub fn make_and_append_view(
    views_buffer: &mut Vec<u128>,
    null_builder: &mut NullBufferBuilder,
    original_view: &u128,
    substr: &str,
    start_offset: u32,
)
Expand description

Append a new view to the views buffer with the given substr

§Safety

original_view must be a valid view (the format described on GenericByteViewArray.

§Arguments

  • views_buffer: The buffer to append the new view to
  • null_builder: The buffer to append the null value to
  • original_view: The original view value
  • substr: The substring to append. Must be a valid substring of the original view
  • start_offset: The start offset of the substring in the view