Struct arrow::array::DecimalArray[][src]

pub struct DecimalArray { /* fields omitted */ }

A type of DecimalArray whose elements are binaries.

Implementations

impl DecimalArray[src]

pub fn value(&self, i: usize) -> i128[src]

Returns the element at index i as i128.

pub fn value_offset(&self, i: usize) -> i32[src]

Returns the offset for the element at index i.

Note this doesn’t do any bound checking, for performance reason.

pub fn value_length(&self) -> i32[src]

Returns the length for an element.

All elements have the same length as the array is a fixed size.

pub fn value_data(&self) -> Buffer[src]

Returns a clone of the value data buffer

pub fn from_fixed_size_list_array(
    v: FixedSizeListArray,
    precision: usize,
    scale: usize
) -> Self
[src]

pub fn precision(&self) -> usize[src]

pub fn scale(&self) -> usize[src]

Trait Implementations

impl Array for DecimalArray[src]

fn get_buffer_memory_size(&self) -> usize[src]

Returns the total number of bytes of memory occupied by the buffers owned by this DecimalArray.

fn get_array_memory_size(&self) -> usize[src]

Returns the total number of bytes of memory occupied physically by this DecimalArray.

impl Debug for DecimalArray[src]

impl From<ArrayData> for DecimalArray[src]

impl JsonEqual for DecimalArray[src]

impl PartialEq<DecimalArray> for DecimalArray[src]

impl PartialEq<Value> for DecimalArray[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,