struct PageMetrics {
num_buffered_values: u32,
num_buffered_rows: u32,
page_size_exemption: usize,
num_page_nulls: u64,
num_page_nans: Option<u64>,
repetition_level_histogram: Option<LevelHistogram>,
definition_level_histogram: Option<LevelHistogram>,
}Fields§
§num_buffered_values: u32§num_buffered_rows: u32§page_size_exemption: usizeEncoded bytes that the data page byte limit does not apply to,
because they belong to the page’s mandatory first value and cannot be
moved elsewhere. Zero unless that value alone exceeded the limit
and the encoding compresses against the preceding value; see
ColumnValueEncoder::compresses_against_previous_value.
num_page_nulls: u64§num_page_nans: Option<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
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 UnsafeUnpin for PageMetrics
impl UnwindSafe for PageMetrics
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