We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c92a50 commit a9b0e72Copy full SHA for a9b0e72
arrow-array/src/builder/struct_builder.rs
@@ -372,6 +372,11 @@ impl StructBuilder {
372
self.field_builders[i].as_any_mut().downcast_mut::<T>()
373
}
374
375
+ /// Returns a reference to field builders
376
+ pub fn field_builders(&self) -> &[Box<dyn ArrayBuilder>] {
377
+ &self.field_builders
378
+ }
379
+
380
/// Returns the number of fields for the struct this builder is building.
381
pub fn num_fields(&self) -> usize {
382
self.field_builders.len()
0 commit comments