Deconstruct this array into its constituent parts
(
self,
)
| 134 | |
| 135 | /// Deconstruct this array into its constituent parts |
| 136 | pub fn into_parts( |
| 137 | self, |
| 138 | ) -> ( |
| 139 | FieldRef, |
| 140 | OffsetBuffer<i32>, |
| 141 | StructArray, |
| 142 | Option<NullBuffer>, |
| 143 | bool, |
| 144 | ) { |
| 145 | let (f, ordered) = match self.data_type { |
| 146 | DataType::Map(f, ordered) => (f, ordered), |
| 147 | _ => unreachable!(), |
| 148 | }; |
| 149 | (f, self.value_offsets, self.entries, self.nulls, ordered) |
| 150 | } |
| 151 | |
| 152 | /// Returns a reference to the offsets of this map |
| 153 | /// |
no outgoing calls
no test coverage detected