pub struct DecodedDataBlock<R = MetadataRow> {
pub row_keys: Vec<String>,
pub rows: Vec<R>,
}Expand description
One decoded data block: row keys and rows, parallel and in key order.
The row type defaults to MetadataRow; index segments decode their
own row payload through decode_data_block_rows.
Fields§
§row_keys: Vec<String>Reconstructed row keys in the same ascending order as rows.
rows: Vec<R>Decoded row payloads positionally paired with row_keys.
Trait Implementations§
Source§impl<R: Clone> Clone for DecodedDataBlock<R>
impl<R: Clone> Clone for DecodedDataBlock<R>
Source§impl<R: Debug> Debug for DecodedDataBlock<R>
impl<R: Debug> Debug for DecodedDataBlock<R>
impl<R: Eq> Eq for DecodedDataBlock<R>
Source§impl<R: PartialEq> PartialEq for DecodedDataBlock<R>
impl<R: PartialEq> PartialEq for DecodedDataBlock<R>
impl<R: PartialEq> StructuralPartialEq for DecodedDataBlock<R>
Auto Trait Implementations§
impl<R> Freeze for DecodedDataBlock<R>
impl<R> RefUnwindSafe for DecodedDataBlock<R>where
Vec<R>: RefUnwindSafe,
impl<R> Send for DecodedDataBlock<R>
impl<R> Sync for DecodedDataBlock<R>
impl<R> Unpin for DecodedDataBlock<R>
impl<R> UnsafeUnpin for DecodedDataBlock<R>where
Vec<R>: UnsafeUnpin,
impl<R> UnwindSafe for DecodedDataBlock<R>where
Vec<R>: UnwindSafe,
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