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 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 more