pub struct BlockMetadata { /* private fields */ }Expand description
Read-only metadata for one complete, committed data block.
Implementations§
Source§impl BlockMetadata
impl BlockMetadata
Sourcepub fn file_offset(&self) -> u64
pub fn file_offset(&self) -> u64
The absolute byte offset of this frame’s prefix.
Sourcepub fn total_length(&self) -> u64
pub fn total_length(&self) -> u64
The complete committed frame length, including prefix and trailer.
Sourcepub fn base_row_id(&self) -> Option<u64>
pub fn base_row_id(&self) -> Option<u64>
The base row ID when the file’s ROW_IDS feature is enabled.
Sourcepub fn primary_bounds(&self) -> Option<PrimaryBounds>
pub fn primary_bounds(&self) -> Option<PrimaryBounds>
The block’s primary timestamp/date bounds, if the schema has a primary.
Trait Implementations§
Source§impl Clone for BlockMetadata
impl Clone for BlockMetadata
Source§fn clone(&self) -> BlockMetadata
fn clone(&self) -> BlockMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BlockMetadata
impl Debug for BlockMetadata
impl Eq for BlockMetadata
Source§impl PartialEq for BlockMetadata
impl PartialEq for BlockMetadata
impl StructuralPartialEq for BlockMetadata
Auto Trait Implementations§
impl Freeze for BlockMetadata
impl RefUnwindSafe for BlockMetadata
impl Send for BlockMetadata
impl Sync for BlockMetadata
impl Unpin for BlockMetadata
impl UnsafeUnpin for BlockMetadata
impl UnwindSafe for BlockMetadata
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