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

Method num_columns

arrow-array/src/array/struct_array.rs:290–292  ·  view source on GitHub ↗

Return the number of fields in this struct array

(&self)

Source from the content-addressed store, hash-verified

288
289 /// Return the number of fields in this struct array
290 pub fn num_columns(&self) -> usize {
291 self.fields.len()
292 }
293
294 /// Returns the fields of the struct array
295 pub fn columns(&self) -> &[ArrayRef] {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected