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

Method flush_in_progress

arrow-array/src/builder/generic_bytes_view_builder.rs:283–288  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

281 /// Flushes the in progress block if any
282 #[inline]
283 fn flush_in_progress(&mut self) {
284 if !self.in_progress.is_empty() {
285 let f = Buffer::from_vec(std::mem::take(&mut self.in_progress));
286 self.push_completed(f)
287 }
288 }
289
290 /// Append a block to `self.completed`, checking for overflow
291 #[inline]

Callers 5

append_blockMethod · 0.80
append_arrayMethod · 0.80
try_append_valueMethod · 0.80
finishMethod · 0.80

Calls 3

takeFunction · 0.85
push_completedMethod · 0.80
is_emptyMethod · 0.45

Tested by 1