[−][src]Struct arrow::array::DecimalArray
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]
v: FixedSizeListArray,
precision: usize,
scale: usize
) -> Self
pub fn precision(&self) -> usize
[src]
pub fn scale(&self) -> usize
[src]
Trait Implementations
impl Array for DecimalArray
[src]
fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
[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.
fn data_type(&self) -> &DataType
[src]
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn offset(&self) -> usize
[src]
fn is_null(&self, index: usize) -> bool
[src]
fn is_valid(&self, index: usize) -> bool
[src]
fn null_count(&self) -> usize
[src]
fn to_raw(&self) -> Result<(*const FFI_ArrowArray, *const FFI_ArrowSchema)>
[src]
impl Debug for DecimalArray
[src]
impl From<Arc<ArrayData>> for DecimalArray
[src]
fn from(data: ArrayDataRef) -> Self
[src]
impl JsonEqual for DecimalArray
[src]
fn equals_json(&self, json: &[&Value]) -> bool
[src]
fn equals_json_values(&self, json: &[Value]) -> bool
[src]
impl PartialEq<DecimalArray> for DecimalArray
[src]
impl PartialEq<Value> for DecimalArray
[src]
Auto Trait Implementations
impl RefUnwindSafe for DecimalArray
[src]
impl Send for DecimalArray
[src]
impl Sync for DecimalArray
[src]
impl Unpin for DecimalArray
[src]
impl UnwindSafe for DecimalArray
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,