pub struct ConstantLayout {
pub layers: Vec<i32>,
pub inline_value: Option<Bytes>,
pub rep_compression: Option<CompressiveEncoding>,
pub def_compression: Option<CompressiveEncoding>,
pub num_rep_values: u64,
pub num_def_values: u64,
}Expand description
Scalar and level information needed by the constant engine.
Fields§
§layers: Vec<i32>Inner-most to outer-most repetition/definition interpretations.
inline_value: Option<Bytes>Encoded scalar; absent for pages without materialized values.
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.
num_rep_values: u64Number of entries in the repetition stream.
num_def_values: u64Number of entries in the definition stream.
Trait Implementations§
Source§impl Clone for ConstantLayout
impl Clone for ConstantLayout
Source§impl Debug for ConstantLayout
impl Debug for ConstantLayout
Source§impl Default for ConstantLayout
impl Default for ConstantLayout
Source§impl From<ConstantLayout> for ConstantLayout
impl From<ConstantLayout> for ConstantLayout
Source§fn from(value: ConstantLayout) -> Self
fn from(value: ConstantLayout) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConstantLayout
impl PartialEq for ConstantLayout
impl StructuralPartialEq for ConstantLayout
Source§impl TryFrom<ConstantLayout> for ConstantLayout
impl TryFrom<ConstantLayout> for ConstantLayout
Auto Trait Implementations§
impl !Freeze for ConstantLayout
impl RefUnwindSafe for ConstantLayout
impl Send for ConstantLayout
impl Sync for ConstantLayout
impl Unpin for ConstantLayout
impl UnsafeUnpin for ConstantLayout
impl UnwindSafe for ConstantLayout
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