Returns ith value of this list array. Note: This method does not check for nulls and the value is arbitrary (but still well-defined) if [`is_null`](Self::is_null) returns true for the index. # Panics Panics if index `i` is out of bounds
(&self, i: usize)
| 349 | /// # Panics |
| 350 | /// Panics if index `i` is out of bounds |
| 351 | pub fn value(&self, i: usize) -> ArrayRef { |
| 352 | let end = self.value_offsets()[i + 1].as_usize(); |
| 353 | let start = self.value_offsets()[i].as_usize(); |
| 354 | self.values.slice(start, end - start) |
| 355 | } |
| 356 | |
| 357 | /// Returns the offset values in the offsets buffer. |
| 358 | /// |