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

Method push_completed

arrow-array/src/builder/generic_bytes_view_builder.rs:292–296  ·  view source on GitHub ↗
(&mut self, block: Buffer)

Source from the content-addressed store, hash-verified

290 /// Append a block to `self.completed`, checking for overflow
291 #[inline]
292 fn push_completed(&mut self, block: Buffer) {
293 assert!(block.len() < u32::MAX as usize, "Block too large");
294 assert!(self.completed.len() < u32::MAX as usize, "Too many blocks");
295 self.completed.push(block);
296 }
297
298 /// Returns the value at the given index
299 /// Useful if we want to know what value has been inserted to the builder

Callers 2

append_blockMethod · 0.80
flush_in_progressMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected