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

Method value_length

arrow-array/src/array/list_array.rs:367–370  ·  view source on GitHub ↗
(&self, i: usize)

Source from the content-addressed store, hash-verified

365 /// Returns the length for value at index `i`.
366 #[inline]
367 pub fn value_length(&self, i: usize) -> OffsetSize {
368 let offsets = self.value_offsets();
369 offsets[i + 1] - offsets[i]
370 }
371
372 /// constructs a new iterator
373 pub fn iter<'a>(&'a self) -> GenericListArrayIter<'a, OffsetSize> {

Callers

nothing calls this directly

Calls 1

value_offsetsMethod · 0.45

Tested by

no test coverage detected