Struct taos_query::common::raw::PrettyBlock
source · pub struct PrettyBlock<'a> { /* private fields */ }Methods from Deref<Target = RawBlock>§
pub fn group_id(&self) -> u64
pub fn table_name(&self) -> Option<&str>
pub fn tmq_db_name(&self) -> Option<&str>
pub fn schemas(&self) -> &[ColSchema]
sourcepub fn field_names(&self) -> &[String]
pub fn field_names(&self) -> &[String]
Get field names.
sourcepub fn columns(&self) -> Iter<'_, ColumnView>
pub fn columns(&self) -> Iter<'_, ColumnView>
Data view in columns.
pub fn column_views(&self) -> &[ColumnView]
pub fn deserialize<'de, 'a: 'de, T>( &'a self ) -> Map<RowsIter<'_>, fn(_: RowView<'a>) -> Result<T, Error>>where T: Deserialize<'de>,
pub fn as_raw_bytes(&self) -> &[u8] ⓘ
pub fn is_null(&self, row: usize, col: usize) -> bool
sourcepub unsafe fn get_raw_value_unchecked(
&self,
row: usize,
col: usize
) -> (Ty, u32, *const c_void)
pub unsafe fn get_raw_value_unchecked( &self, row: usize, col: usize ) -> (Ty, u32, *const c_void)
Get one value at (row, col) of the block.
pub fn get_ref(&self, row: usize, col: usize) -> Option<BorrowedValue<'_>>
sourcepub unsafe fn get_ref_unchecked(
&self,
row: usize,
col: usize
) -> BorrowedValue<'_>
pub unsafe fn get_ref_unchecked( &self, row: usize, col: usize ) -> BorrowedValue<'_>
Get one value at (row, col) of the block.