MCPcopy Create free account
hub / github.com/apache/datafusion / append_value

Method append_value

datafusion/functions/src/strings.rs:479–484  ·  view source on GitHub ↗
(&mut self, value: &str)

Source from the content-addressed store, hash-verified

477 /// Panics if the cumulative byte length exceeds `O::MAX`.
478 #[inline]
479 pub fn append_value(&mut self, value: &str) {
480 self.value_buffer.extend_from_slice(value.as_bytes());
481 let next_offset =
482 O::from_usize(self.value_buffer.len()).expect("byte array offset overflow");
483 self.offsets_buffer.push(next_offset);
484 }
485
486 /// See [`BulkNullStringArrayBuilder::append_placeholder`].
487 #[inline]

Callers 15

append_rowMethod · 0.45
gen_dataMethod · 0.45
evaluateMethod · 0.45
call_with_argsMethod · 0.45
executeMethod · 0.45
compute_take_arraysFunction · 0.45
flagsFunction · 0.45
data_with_formatsFunction · 0.45
create_args5Function · 0.45

Calls 8

next_block_sizeMethod · 0.80
reserveMethod · 0.80
make_long_viewMethod · 0.80
lenMethod · 0.45
pushMethod · 0.45
capacityMethod · 0.45
flush_in_progressMethod · 0.45
maxMethod · 0.45