Enum parquet::file::properties::EnabledStatistics
source · 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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)