Struct arrow::array::DecimalArray [−][src]
pub struct DecimalArray { /* fields omitted */ }
A type of DecimalArray
whose elements are binaries.
Implementations
impl DecimalArray
[src]
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]
impl Array for DecimalArray
[src]fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> &ArrayData
[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_ref(&self) -> &ArrayData
[src]
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 JsonEqual for DecimalArray
[src]
impl JsonEqual for DecimalArray
[src]impl PartialEq<DecimalArray> for DecimalArray
[src]
impl PartialEq<DecimalArray> for DecimalArray
[src]Auto Trait Implementations
impl RefUnwindSafe for DecimalArray
impl RefUnwindSafe for DecimalArray
impl Send for DecimalArray
impl Send for DecimalArray
impl Sync for DecimalArray
impl Sync for DecimalArray
impl Unpin for DecimalArray
impl Unpin for DecimalArray
impl UnwindSafe for DecimalArray
impl UnwindSafe for DecimalArray