Trait vortex_file::Layout

source ·
pub trait Layout:
    Debug
    + Send
    + Sync {
    // Required methods
    fn id(&self) -> LayoutId;
    fn reader(
        &self,
        layout: Layout<'_>,
        scan: Scan,
        layout_serde: LayoutDeserializer,
        message_cache: RelativeLayoutCache,
    ) -> VortexResult<Box<dyn LayoutReader>>;
}

Required Methods§

source

fn id(&self) -> LayoutId

source

fn reader( &self, layout: Layout<'_>, scan: Scan, layout_serde: LayoutDeserializer, message_cache: RelativeLayoutCache, ) -> VortexResult<Box<dyn LayoutReader>>

Implementors§

source§

impl Layout for ChunkedLayout

In-memory representation of Chunked layout.

First child in the list is the metadata table Subsequent children are consecutive chunks of this layout

source§

impl Layout for ColumnarLayout

source§

impl Layout for FlatLayout