pub struct ValidityBitmap { /* private fields */ }Expand description
Validity bitmap - 1 bit per value for NULL tracking
Implementations§
Source§impl ValidityBitmap
impl ValidityBitmap
Sourcepub fn new_all_valid(len: usize) -> Self
pub fn new_all_valid(len: usize) -> Self
Create a new validity bitmap with all values valid
Sourcepub fn new_all_null(len: usize) -> Self
pub fn new_all_null(len: usize) -> Self
Create a new validity bitmap with all values null
Sourcepub fn null_count(&self) -> usize
pub fn null_count(&self) -> usize
Get the number of null values
Trait Implementations§
Source§impl Clone for ValidityBitmap
impl Clone for ValidityBitmap
Source§fn clone(&self) -> ValidityBitmap
fn clone(&self) -> ValidityBitmap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidityBitmap
impl Debug for ValidityBitmap
Source§impl Default for ValidityBitmap
impl Default for ValidityBitmap
Source§fn default() -> ValidityBitmap
fn default() -> ValidityBitmap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidityBitmap
impl RefUnwindSafe for ValidityBitmap
impl Send for ValidityBitmap
impl Sync for ValidityBitmap
impl Unpin for ValidityBitmap
impl UnwindSafe for ValidityBitmap
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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