pub struct BooleanUniqueKernelState { /* private fields */ }
Implementations§
Source§impl BooleanUniqueKernelState
impl BooleanUniqueKernelState
pub fn new(has_null: bool, dtype: ArrowDataType) -> Self
Trait Implementations§
Source§impl RangedUniqueKernel for BooleanUniqueKernelState
impl RangedUniqueKernel for BooleanUniqueKernelState
type Array = BooleanArray
Source§fn has_seen_all(&self) -> bool
fn has_seen_all(&self) -> bool
Returns whether all the values in the whole range are in the state
Source§fn finalize_unique(self) -> Self::Array
fn finalize_unique(self) -> Self::Array
Consume the state to get the unique elements
Source§fn finalize_n_unique(self) -> usize
fn finalize_n_unique(self) -> usize
Consume the state to get the number of unique elements including null
Source§fn finalize_n_unique_non_null(self) -> usize
fn finalize_n_unique_non_null(self) -> usize
Consume the state to get the number of unique elements excluding null
Auto Trait Implementations§
impl Freeze for BooleanUniqueKernelState
impl RefUnwindSafe for BooleanUniqueKernelState
impl Send for BooleanUniqueKernelState
impl Sync for BooleanUniqueKernelState
impl Unpin for BooleanUniqueKernelState
impl UnwindSafe for BooleanUniqueKernelState
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