struct RowGroupPruningStatistics<'a> {
parquet_schema: &'a SchemaDescriptor,
row_group_metadatas: Vec<&'a RowGroupMetaData>,
arrow_schema: &'a Schema,
}Expand description
Wraps a slice of [RowGroupMetaData] in a way that implements PruningStatistics
Fields§
§parquet_schema: &'a SchemaDescriptor§row_group_metadatas: Vec<&'a RowGroupMetaData>§arrow_schema: &'a SchemaImplementations§
Source§impl<'a> RowGroupPruningStatistics<'a>
impl<'a> RowGroupPruningStatistics<'a>
Sourcefn metadata_iter(&'a self) -> impl Iterator<Item = &'a RowGroupMetaData> + 'a
fn metadata_iter(&'a self) -> impl Iterator<Item = &'a RowGroupMetaData> + 'a
Return an iterator over the row group metadata
fn statistics_converter<'b>( &'a self, column: &'b Column, ) -> Result<StatisticsConverter<'a>>
Trait Implementations§
Source§impl PruningStatistics for RowGroupPruningStatistics<'_>
impl PruningStatistics for RowGroupPruningStatistics<'_>
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, column: &Column) -> Option<ArrayRef>
fn row_counts(&self, column: &Column) -> Option<ArrayRef>
Return the number of rows for the named column in each container
as an
UInt64Array. Read moreAuto Trait Implementations§
impl<'a> Freeze for RowGroupPruningStatistics<'a>
impl<'a> RefUnwindSafe for RowGroupPruningStatistics<'a>
impl<'a> Send for RowGroupPruningStatistics<'a>
impl<'a> Sync for RowGroupPruningStatistics<'a>
impl<'a> Unpin for RowGroupPruningStatistics<'a>
impl<'a> UnwindSafe for RowGroupPruningStatistics<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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