MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_values

Method append_values

arrow-array/src/builder/generic_bytes_dictionary_builder.rs:337–340  ·  view source on GitHub ↗

Infallibly append a value to this builder repeatedly `count` times. This is the same as `append_value` but allows to append the same value multiple times without doing multiple lookups. # Panics Panics if the resulting length of the dictionary values array would exceed `T::Native::MAX`

(&mut self, value: impl AsRef<T::Native>, count: usize)

Source from the content-addressed store, hash-verified

335 ///
336 /// Panics if the resulting length of the dictionary values array would exceed `T::Native::MAX`
337 pub fn append_values(&mut self, value: impl AsRef<T::Native>, count: usize) {
338 self.append_n(value, count)
339 .expect("dictionary key overflow");
340 }
341
342 /// Appends a null slot into the builder
343 #[inline]

Callers 1

append_optionsMethod · 0.45

Calls 1

append_nMethod · 0.45

Tested by

no test coverage detected