enum BufferInner {
Full {
levels: Vec<i16>,
nulls: BooleanBufferBuilder,
max_level: i16,
},
Mask {
nulls: BooleanBufferBuilder,
},
}Variants§
Full
Compute levels and null mask
Mask
Only compute null bitmask - requires max level to be 1
This is an optimisation for the common case of a nullable scalar column, as decoding the definition level data is only required when decoding nested structures
Fields
§
nulls: BooleanBufferBuilderAuto Trait Implementations§
impl !Freeze for BufferInner
impl RefUnwindSafe for BufferInner
impl Send for BufferInner
impl Sync for BufferInner
impl Unpin for BufferInner
impl UnwindSafe for BufferInner
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more