pub enum EnabledStatistics {
None,
Chunk,
Page,
}
Expand description
Controls the level of statistics to be computed by the writer and stored in the parquet file.
Enabling statistics makes the resulting Parquet file larger and requires more time to read the parquet footer.
Statistics can be used to improve query performance by pruning row groups and pages during query execution if the query engine supports evaluating the predicate using the statistics.
Variants§
None
Compute no statistics.
Chunk
Compute column chunk-level statistics but not page-level.
Setting this option will store one set of statistics for each relevant column for each row group. The more row groups written, the more statistics will be stored.
Page
Compute page-level and column chunk-level statistics.
Setting this option will store one set of statistics for each relevant column for each page and row group. The more row groups and the more pages written, the more statistics will be stored.
Trait Implementations§
Source§impl Clone for EnabledStatistics
impl Clone for EnabledStatistics
Source§fn clone(&self) -> EnabledStatistics
fn clone(&self) -> EnabledStatistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EnabledStatistics
impl Debug for EnabledStatistics
Source§impl Default for EnabledStatistics
impl Default for EnabledStatistics
Source§impl FromStr for EnabledStatistics
impl FromStr for EnabledStatistics
Source§impl PartialEq for EnabledStatistics
impl PartialEq for EnabledStatistics
impl Copy for EnabledStatistics
impl Eq for EnabledStatistics
impl StructuralPartialEq for EnabledStatistics
Auto Trait Implementations§
impl Freeze for EnabledStatistics
impl RefUnwindSafe for EnabledStatistics
impl Send for EnabledStatistics
impl Sync for EnabledStatistics
impl Unpin for EnabledStatistics
impl UnwindSafe for EnabledStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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>
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>
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