pub struct RirMeta {
pub schema: Schema,
pub est_rows: (u64, u64),
pub est_bytes: (u64, u64),
pub skew: Option<SkewSignature>,
pub deterministic: bool,
pub layout_hint: LayoutHint,
}Expand description
Metadata attached to each RIR node
Fields§
§schema: SchemaSchema of output relation
est_rows: (u64, u64)Estimated row count range (min, max)
est_bytes: (u64, u64)Estimated memory bytes range (min, max)
skew: Option<SkewSignature>Optional skew signature
deterministic: boolWhether this node produces deterministic output
layout_hint: LayoutHintLayout hint for physical storage
Implementations§
Source§impl RirMeta
impl RirMeta
Sourcepub fn with_schema(schema: Schema) -> Self
pub fn with_schema(schema: Schema) -> Self
Create metadata with schema
Sourcepub fn with_layout(self, hint: LayoutHint) -> Self
pub fn with_layout(self, hint: LayoutHint) -> Self
Set layout hint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RirMeta
impl RefUnwindSafe for RirMeta
impl Send for RirMeta
impl Sync for RirMeta
impl Unpin for RirMeta
impl UnsafeUnpin for RirMeta
impl UnwindSafe for RirMeta
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