Struct taos_query::common::raw::views::VarCharView
source · pub struct VarCharView { /* private fields */ }
Implementations§
source§impl VarCharView
impl VarCharView
pub fn len(&self) -> usize
sourcepub fn is_null_iter(&self) -> VarCharNullsIter<'_>
pub fn is_null_iter(&self) -> VarCharNullsIter<'_>
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 slice(&self, range: Range<usize>) -> Option<Self>
pub fn iter(&self) -> VarCharIter<'_>
pub fn to_vec(&self) -> Vec<Option<String>>
pub fn iter_as_bytes(&self) -> impl Iterator<Item = Option<&[u8]>>
pub fn to_bytes_vec(&self) -> Vec<Option<&[u8]>>
pub fn from_iter<S: AsRef<str>, T: Into<Option<S>>, I: ExactSizeIterator<Item = T>, V: IntoIterator<Item = T, IntoIter = I>>( iter: V ) -> Self
Trait Implementations§
source§impl Clone for VarCharView
impl Clone for VarCharView
source§fn clone(&self) -> VarCharView
fn clone(&self) -> VarCharView
Returns a copy 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 RefUnwindSafe for VarCharView
impl Send for VarCharView
impl Sync for VarCharView
impl Unpin for VarCharView
impl UnwindSafe for VarCharView
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