pub struct SegmentMeta {
pub logical_type: LogicalType,
pub encoding: Encoding,
pub compression: Compression,
pub chunk_rows: usize,
pub chunk_checksum: bool,
}Expand description
Metadata describing a segment.
Fields§
§logical_type: LogicalTypeLogical type of the stored column.
encoding: EncodingEncoding applied to each chunk.
compression: CompressionCompression applied after encoding.
chunk_rows: usizeMaximum rows per chunk.
chunk_checksum: boolWhether to append a checksum per chunk.
Trait Implementations§
Source§impl Clone for SegmentMeta
impl Clone for SegmentMeta
Source§fn clone(&self) -> SegmentMeta
fn clone(&self) -> SegmentMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentMeta
impl Debug for SegmentMeta
Source§impl PartialEq for SegmentMeta
impl PartialEq for SegmentMeta
impl Eq for SegmentMeta
impl StructuralPartialEq for SegmentMeta
Auto Trait Implementations§
impl Freeze for SegmentMeta
impl RefUnwindSafe for SegmentMeta
impl Send for SegmentMeta
impl Sync for SegmentMeta
impl Unpin for SegmentMeta
impl UnwindSafe for SegmentMeta
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