pub struct MiniBlockLayout {
pub rep_compression: Option<CompressiveEncoding>,
pub def_compression: Option<CompressiveEncoding>,
pub value_compression: Option<CompressiveEncoding>,
pub dictionary: Option<CompressiveEncoding>,
pub num_dictionary_items: u64,
pub layers: Vec<i32>,
pub num_buffers: u64,
pub repetition_index_depth: u32,
pub num_items: u64,
pub has_large_chunk: bool,
}Expand description
Buffer and row accounting needed by the mini-block engine.
Fields§
§rep_compression: Option<CompressiveEncoding>Repetition stream encoding; absent when no repetition buffer exists.
def_compression: Option<CompressiveEncoding>Definition stream encoding; absent when no definition buffer exists.
value_compression: Option<CompressiveEncoding>Value encoding, required for engines that materialize values.
dictionary: Option<CompressiveEncoding>Page dictionary encoding; absent when chunks do not share a dictionary.
num_dictionary_items: u64Number of entries in the page dictionary.
layers: Vec<i32>Inner-most to outer-most repetition/definition interpretations.
num_buffers: u64Value buffers per chunk, excluding repetition and definition streams.
repetition_index_depth: u32Number of list layers represented by the repetition index.
num_items: u64Number of structural events, including invisible entries.
has_large_chunk: boolSelects u32 chunk metadata; false selects the stable u16 representation.
Trait Implementations§
Source§impl Clone for MiniBlockLayout
impl Clone for MiniBlockLayout
Source§impl Debug for MiniBlockLayout
impl Debug for MiniBlockLayout
Source§impl Default for MiniBlockLayout
impl Default for MiniBlockLayout
Source§impl From<MiniBlockLayout> for MiniBlockLayout
impl From<MiniBlockLayout> for MiniBlockLayout
Source§fn from(value: MiniBlockLayout) -> Self
fn from(value: MiniBlockLayout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MiniBlockLayout
impl PartialEq for MiniBlockLayout
impl StructuralPartialEq for MiniBlockLayout
Source§impl TryFrom<MiniBlockLayout> for MiniBlockLayout
impl TryFrom<MiniBlockLayout> for MiniBlockLayout
Auto Trait Implementations§
impl !Freeze for MiniBlockLayout
impl RefUnwindSafe for MiniBlockLayout
impl Send for MiniBlockLayout
impl Sync for MiniBlockLayout
impl Unpin for MiniBlockLayout
impl UnsafeUnpin for MiniBlockLayout
impl UnwindSafe for MiniBlockLayout
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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