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

Method value_as_string

arrow-array/src/array/primitive_array.rs:1649–1651  ·  view source on GitHub ↗

Returns [`Self::value`] formatted as a string

(&self, row: usize)

Source from the content-addressed store, hash-verified

1647
1648 /// Returns [`Self::value`] formatted as a string
1649 pub fn value_as_string(&self, row: usize) -> String {
1650 T::format_decimal(self.value(row), self.precision(), self.scale())
1651 }
1652
1653 /// Returns the decimal precision of this array
1654 pub fn precision(&self) -> u8 {

Calls 3

valueMethod · 0.45
precisionMethod · 0.45
scaleMethod · 0.45