[−][src]Struct arrow::array::BinaryArray
A special type of ListArray whose elements are binaries.
Methods
impl BinaryArray[src]
impl BinaryArraypub fn get_value(&self, i: usize) -> &[u8][src]
pub fn get_value(&self, i: usize) -> &[u8]Returns the element at index i as a byte slice.
pub fn get_string(&self, i: usize) -> String[src]
pub fn get_string(&self, i: usize) -> StringReturns the element at index i as a string.
Note this doesn't do any bound checking, for performance reason.
pub fn value_offset(&self, i: usize) -> i32[src]
pub fn value_offset(&self, i: usize) -> i32Returns the offset for the element at index i.
Note this doesn't do any bound checking, for performance reason.
pub fn value_length(&self, i: usize) -> i32[src]
pub fn value_length(&self, i: usize) -> i32Returns the length for the element at index i.
Note this doesn't do any bound checking, for performance reason.
Trait Implementations
impl Array for BinaryArray[src]
impl Array for BinaryArrayfn as_any(&self) -> &dyn Any[src]
fn as_any(&self) -> &dyn Anyfn data(&self) -> ArrayDataRef[src]
fn data(&self) -> ArrayDataReffn data_ref(&self) -> &ArrayDataRef[src]
fn data_ref(&self) -> &ArrayDataReffn data_type(&self) -> &DataType[src]
fn data_type(&self) -> &DataTypeReturns a reference to the data type of this array
fn len(&self) -> usize[src]
fn len(&self) -> usizeReturns the length (i.e., number of elements) of this array
fn offset(&self) -> usize[src]
fn offset(&self) -> usizeReturns the offset of this array
fn is_null(&self, i: usize) -> bool[src]
fn is_null(&self, i: usize) -> boolReturns whether the element at index i is null
fn is_valid(&self, i: usize) -> bool[src]
fn is_valid(&self, i: usize) -> boolReturns whether the element at index i is not null
fn null_count(&self) -> usize[src]
fn null_count(&self) -> usizeReturns the total number of nulls in this array
impl From<Arc<ArrayData>> for BinaryArray[src]
impl From<Arc<ArrayData>> for BinaryArrayfn from(data: ArrayDataRef) -> Self[src]
fn from(data: ArrayDataRef) -> Selfimpl<'a> From<Vec<&'a str>> for BinaryArray[src]
impl<'a> From<Vec<&'a str>> for BinaryArrayimpl From<ListArray> for BinaryArray[src]
impl From<ListArray> for BinaryArrayCreates a BinaryArray from List<u8> array
Auto Trait Implementations
impl Send for BinaryArray
impl Send for BinaryArrayimpl Sync for BinaryArray
impl Sync for BinaryArrayBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId