[−][src]Struct arrow::array::BinaryArray
A special type of ListArray
whose elements are binaries.
Methods
impl BinaryArray
[src]
pub fn value(&self, i: usize) -> &[u8]
[src]
Returns the element at index i
as a byte slice.
pub fn get_string(&self, i: usize) -> String
[src]
Returns 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]
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, i: usize) -> i32
[src]
Returns the length for the element at index i
.
Note this doesn't do any bound checking, for performance reason.
pub fn value_offsets(&self) -> Buffer
[src]
Returns a clone of the value offset buffer
pub fn value_data(&self) -> Buffer
[src]
Returns a clone of the value data buffer
Trait Implementations
impl Array for BinaryArray
[src]
fn as_any(&self) -> &dyn Any
[src]
fn data(&self) -> ArrayDataRef
[src]
fn data_ref(&self) -> &ArrayDataRef
[src]
fn data_type(&self) -> &DataType
[src]
fn slice(&self, offset: usize, length: usize) -> ArrayRef
[src]
fn len(&self) -> usize
[src]
fn offset(&self) -> usize
[src]
fn is_null(&self, i: usize) -> bool
[src]
fn is_valid(&self, i: usize) -> bool
[src]
fn null_count(&self) -> usize
[src]
impl ListArrayOps for BinaryArray
[src]
fn value_offset_at(&self, i: usize) -> i32
[src]
impl ArrayEqual for BinaryArray
[src]
fn equals(&self, other: &dyn Array) -> bool
[src]
fn range_equals(
&self,
other: &dyn Array,
start_idx: usize,
end_idx: usize,
other_start_idx: usize
) -> bool
[src]
&self,
other: &dyn Array,
start_idx: usize,
end_idx: usize,
other_start_idx: usize
) -> bool
impl PartialEq<Value> for BinaryArray
[src]
impl PartialEq<BinaryArray> for Value
[src]
fn eq(&self, arrow: &BinaryArray) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl From<Arc<ArrayData>> for BinaryArray
[src]
fn from(data: ArrayDataRef) -> Self
[src]
impl<'a> From<Vec<&'a str>> for BinaryArray
[src]
impl<'_> From<Vec<&'_ [u8]>> for BinaryArray
[src]
impl From<ListArray> for BinaryArray
[src]
Creates a BinaryArray
from List<u8>
array
impl Debug for BinaryArray
[src]
impl<'a> TryFrom<Vec<Option<&'a str>>> for BinaryArray
[src]
Auto Trait Implementations
impl Send for BinaryArray
impl Unpin for BinaryArray
impl Sync for BinaryArray
impl RefUnwindSafe for BinaryArray
impl UnwindSafe for BinaryArray
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> FromCast<T> for T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
[src]
U: FromCast<T>,