pub struct BloomFilterStatistics { /* private fields */ }Expand description
In memory Parquet Split Block Bloom Filters (SBBF).
This structure implements PruningStatistics and is used to prune
Parquet row groups and data pages based on the query predicate.
Implementations§
Source§impl BloomFilterStatistics
impl BloomFilterStatistics
Sourcepub fn new() -> Self
pub fn new() -> Self
Create an empty BloomFilterStatistics
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Create an empty BloomFilterStatistics with the specified capacity
Trait Implementations§
Source§impl Clone for BloomFilterStatistics
impl Clone for BloomFilterStatistics
Source§fn clone(&self) -> BloomFilterStatistics
fn clone(&self) -> BloomFilterStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BloomFilterStatistics
impl Debug for BloomFilterStatistics
Source§impl Default for BloomFilterStatistics
impl Default for BloomFilterStatistics
Source§fn default() -> BloomFilterStatistics
fn default() -> BloomFilterStatistics
Returns the “default value” for a type. Read more
Source§impl PruningStatistics for BloomFilterStatistics
impl PruningStatistics for BloomFilterStatistics
Source§fn contained(
&self,
column: &Column,
values: &HashSet<ScalarValue>,
) -> Option<BooleanArray>
fn contained( &self, column: &Column, values: &HashSet<ScalarValue>, ) -> Option<BooleanArray>
Use bloom filters to determine if we are sure this column can not
possibly contain values
The contained API returns false if the bloom filters knows that ALL
of the values in a column are not present.
Source§fn min_values(&self, _column: &Column) -> Option<ArrayRef>
fn min_values(&self, _column: &Column) -> Option<ArrayRef>
Return the minimum values for the named column, if known. Read more
Source§fn max_values(&self, _column: &Column) -> Option<ArrayRef>
fn max_values(&self, _column: &Column) -> Option<ArrayRef>
Return the maximum values for the named column, if known. Read more
Source§fn num_containers(&self) -> usize
fn num_containers(&self) -> usize
Return the number of containers (e.g. Row Groups) being pruned with
these statistics. Read more
Source§fn null_counts(&self, _column: &Column) -> Option<ArrayRef>
fn null_counts(&self, _column: &Column) -> Option<ArrayRef>
Return the number of null values for the named column as an
UInt64Array Read moreSource§fn row_counts(&self) -> Option<ArrayRef>
fn row_counts(&self) -> Option<ArrayRef>
Return the number of rows in each container as an
UInt64Array. Read moreAuto Trait Implementations§
impl Freeze for BloomFilterStatistics
impl RefUnwindSafe for BloomFilterStatistics
impl Send for BloomFilterStatistics
impl Sync for BloomFilterStatistics
impl Unpin for BloomFilterStatistics
impl UnsafeUnpin for BloomFilterStatistics
impl UnwindSafe for BloomFilterStatistics
Blanket Implementations§
impl<T> Allocation for T
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