pub struct VarBinaryView { /* private fields */ }
Implementations§
Source§impl VarBinaryView
impl VarBinaryView
pub fn len(&self) -> usize
Sourcepub fn is_null_iter(&self) -> VarBinaryNullsIter<'_>
pub fn is_null_iter(&self) -> VarBinaryNullsIter<'_>
A iterator only decide if the value at some row index is NULL or not.
Sourcepub fn to_nulls_vec(&self) -> Vec<bool>
pub fn to_nulls_vec(&self) -> Vec<bool>
Build a nulls vector.
Sourcepub fn is_null(&self, row: usize) -> bool
pub fn is_null(&self, row: usize) -> bool
Check if the value at row
index is NULL or not.
Returns null when row
index out of bound.
pub unsafe fn get_length_unchecked(&self, row: usize) -> Option<usize>
pub fn lengths(&self) -> Vec<Option<usize>>
pub fn max_length(&self) -> usize
pub fn iter(&self) -> VarBinaryIter<'_>
pub fn to_vec(&self) -> Vec<Option<Vec<u8>>>
pub fn from_iter<S: AsRef<[u8]>, T: Into<Option<S>>, I: ExactSizeIterator<Item = T>, V: IntoIterator<Item = T, IntoIter = I>>( iter: V, ) -> Self
Trait Implementations§
Source§impl Clone for VarBinaryView
impl Clone for VarBinaryView
Source§fn clone(&self) -> VarBinaryView
fn clone(&self) -> VarBinaryView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !Freeze for VarBinaryView
impl RefUnwindSafe for VarBinaryView
impl Send for VarBinaryView
impl Sync for VarBinaryView
impl Unpin for VarBinaryView
impl UnwindSafe for VarBinaryView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more