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

Method value

arrow-array/src/array/primitive_array.rs:772–780  ·  view source on GitHub ↗
(&self, i: usize)

Source from the content-addressed store, hash-verified

770 /// Panics if index `i` is out of bounds
771 #[inline]
772 pub fn value(&self, i: usize) -> T::Native {
773 assert!(
774 i < self.len(),
775 "Trying to access an element at index {} from a PrimitiveArray of length {}",
776 i,
777 self.len()
778 );
779 unsafe { self.value_unchecked(i) }
780 }
781
782 /// Creates a PrimitiveArray based on an iterator of values without nulls
783 pub fn from_iter_values<I: IntoIterator<Item = T::Native>>(iter: I) -> Self {

Callers 10

take_iterMethod · 0.45
value_as_datetimeMethod · 0.45
value_as_timeMethod · 0.45
value_as_durationMethod · 0.45
fmtMethod · 0.45
value_as_stringMethod · 0.45

Calls 1

value_uncheckedMethod · 0.45