struct PageMetrics {
    num_buffered_values: u32,
    num_buffered_rows: u32,
    num_page_nulls: u64,
    repetition_level_histogram: Option<LevelHistogram>,
    definition_level_histogram: Option<LevelHistogram>,
}Fields§
§num_buffered_values: u32§num_buffered_rows: u32§num_page_nulls: u64§repetition_level_histogram: Option<LevelHistogram>§definition_level_histogram: Option<LevelHistogram>Implementations§
Source§impl PageMetrics
 
impl PageMetrics
fn new() -> Self
Sourcefn with_repetition_level_histogram(self, max_level: i16) -> Self
 
fn with_repetition_level_histogram(self, max_level: i16) -> Self
Initialize the repetition level histogram
Sourcefn with_definition_level_histogram(self, max_level: i16) -> Self
 
fn with_definition_level_histogram(self, max_level: i16) -> Self
Initialize the definition level histogram
Sourcefn new_page(&mut self)
 
fn new_page(&mut self)
Resets the state of this PageMetrics to the initial state.
If histograms have been initialized their contents will be reset to zero.
Sourcefn update_repetition_level_histogram(&mut self, levels: &[i16])
 
fn update_repetition_level_histogram(&mut self, levels: &[i16])
Updates histogram values using provided repetition levels
Sourcefn update_definition_level_histogram(&mut self, levels: &[i16])
 
fn update_definition_level_histogram(&mut self, levels: &[i16])
Updates histogram values using provided definition levels
Trait Implementations§
Source§impl Default for PageMetrics
 
impl Default for PageMetrics
Source§fn default() -> PageMetrics
 
fn default() -> PageMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PageMetrics
impl RefUnwindSafe for PageMetrics
impl Send for PageMetrics
impl Sync for PageMetrics
impl Unpin for PageMetrics
impl UnwindSafe for PageMetrics
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