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

Method into_parts

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

Deconstruct this array into its constituent parts

(self)

Source from the content-addressed store, hash-verified

274
275 /// Deconstruct this array into its constituent parts
276 pub fn into_parts(self) -> (Fields, Vec<ArrayRef>, Option<NullBuffer>) {
277 let f = match self.data_type {
278 DataType::Struct(f) => f,
279 _ => unreachable!(),
280 };
281 (f, self.fields, self.nulls)
282 }
283
284 /// Returns the field at `pos`.
285 pub fn column(&self, pos: usize) -> &ArrayRef {

Callers 1

fromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected