pub struct LowCardinalityView<'b> {
pub key_size: usize,
pub keys: &'b [u8],
pub dict: Column<'b>,
}Expand description
Borrowed parts of a LowCardinality column.
Fields§
§key_size: usizeKey width in bytes. Valid values are 1, 2, 4, and 8.
keys: &'b [u8]Raw keys in host byte order. Length is n_rows * key_size.
Call Column::validate before using untrusted keys as indexes.
dict: Column<'b>Dictionary referenced by keys.
Auto Trait Implementations§
impl<'b> !Send for LowCardinalityView<'b>
impl<'b> !Sync for LowCardinalityView<'b>
impl<'b> Freeze for LowCardinalityView<'b>
impl<'b> RefUnwindSafe for LowCardinalityView<'b>
impl<'b> Unpin for LowCardinalityView<'b>
impl<'b> UnsafeUnpin for LowCardinalityView<'b>
impl<'b> UnwindSafe for LowCardinalityView<'b>
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