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

Method len

arrow-array/src/builder/struct_builder.rs:124–126  ·  view source on GitHub ↗

Returns the number of array slots in the builder. Note that this always return the first child field builder's length, and it is the caller's responsibility to maintain the consistency that all the child field builder should have the equal number of elements.

(&self)

Source from the content-addressed store, hash-verified

122 /// the caller's responsibility to maintain the consistency that all the child field
123 /// builder should have the equal number of elements.
124 fn len(&self) -> usize {
125 self.null_buffer_builder.len()
126 }
127
128 /// Builds the array.
129 fn finish(&mut self) -> ArrayRef {

Callers 8

fmtMethod · 0.45
from_fieldsMethod · 0.45
num_fieldsMethod · 0.45
finishMethod · 0.45
finish_clonedMethod · 0.45
validate_contentMethod · 0.45

Calls

no outgoing calls

Tested by 1