pub struct DefinitionLevelBuffer {
inner: BufferInner,
len: usize,
}Fields§
§inner: BufferInner§len: usizeThe length of this buffer
Note: buffer and builder may contain more elements
Implementations§
Source§impl DefinitionLevelBuffer
impl DefinitionLevelBuffer
pub fn new(desc: &ColumnDescPtr, null_mask_only: bool) -> Self
Sourcepub fn consume_levels(&mut self) -> Option<Vec<i16>>
pub fn consume_levels(&mut self) -> Option<Vec<i16>>
Returns the built level data
Sourcepub fn consume_bitmask(&mut self) -> Buffer
pub fn consume_bitmask(&mut self) -> Buffer
Returns the built null bitmask
pub fn nulls(&self) -> &BooleanBufferBuilder
Auto Trait Implementations§
impl !Freeze for DefinitionLevelBuffer
impl RefUnwindSafe for DefinitionLevelBuffer
impl Send for DefinitionLevelBuffer
impl Sync for DefinitionLevelBuffer
impl Unpin for DefinitionLevelBuffer
impl UnwindSafe for DefinitionLevelBuffer
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