pub struct BuiltSegmentBlocks {
pub bytes: Vec<u8>,
pub index: BlockHandle,
pub filter: BlockHandle,
pub row_count: u64,
pub min_key: String,
pub max_key: String,
}Expand description
A finished segment: the object bytes plus everything the manifest descriptor must carry to read them back.
Fields§
§bytes: Vec<u8>Complete immutable object body, with data sections followed by filter and index sections.
index: BlockHandleHandle callers persist in the segment descriptor to bootstrap reads.
filter: BlockHandleHandle callers persist for negative point-lookup filtering.
row_count: u64Number of rows accepted by the builder, including adjacent duplicate keys.
min_key: StringLeast row key in the non-empty segment.
max_key: StringGreatest row key in the non-empty segment.
Trait Implementations§
Source§impl Clone for BuiltSegmentBlocks
impl Clone for BuiltSegmentBlocks
Source§fn clone(&self) -> BuiltSegmentBlocks
fn clone(&self) -> BuiltSegmentBlocks
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 BuiltSegmentBlocks
impl Debug for BuiltSegmentBlocks
impl Eq for BuiltSegmentBlocks
Source§impl PartialEq for BuiltSegmentBlocks
impl PartialEq for BuiltSegmentBlocks
impl StructuralPartialEq for BuiltSegmentBlocks
Auto Trait Implementations§
impl Freeze for BuiltSegmentBlocks
impl RefUnwindSafe for BuiltSegmentBlocks
impl Send for BuiltSegmentBlocks
impl Sync for BuiltSegmentBlocks
impl Unpin for BuiltSegmentBlocks
impl UnsafeUnpin for BuiltSegmentBlocks
impl UnwindSafe for BuiltSegmentBlocks
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