pub struct NbcRow {
pub null_bitmap: Vec<u8>,
pub data: Bytes,
}Expand description
Null bitmap compressed row.
Fields§
§null_bitmap: Vec<u8>Null bitmap.
data: BytesRaw non-null column values.
Implementations§
Source§impl NbcRow
impl NbcRow
Sourcepub fn decode(
src: &mut impl Buf,
metadata: &ColMetaData,
) -> Result<Self, ProtocolError>
pub fn decode( src: &mut impl Buf, metadata: &ColMetaData, ) -> Result<Self, ProtocolError>
Decode an NBCROW token from bytes.
NBCROW (Null Bitmap Compressed Row) stores a bitmap indicating which columns are NULL, followed by only the non-NULL values.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for NbcRow
impl RefUnwindSafe for NbcRow
impl Send for NbcRow
impl Sync for NbcRow
impl Unpin for NbcRow
impl UnwindSafe for NbcRow
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