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

Method num_fields

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

Returns the number of fields for the struct this builder is building.

(&self)

Source from the content-addressed store, hash-verified

202
203 /// Returns the number of fields for the struct this builder is building.
204 pub fn num_fields(&self) -> usize {
205 self.field_builders.len()
206 }
207
208 /// Returns the fields for the struct this builder is building.
209 pub fn fields(&self) -> &Fields {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected