Skip to main content

PageStoreFactory

Trait PageStoreFactory 

Source
pub trait PageStoreFactory:
    Send
    + Sync
    + Debug {
    // Required method
    fn create(&self, args: &PageStoreArgs<'_>) -> Result<Box<dyn PageStore>>;
}
Expand description

Creates a fresh PageStore for each column chunk.

See ArrowWriterOptions::with_page_store_factory.

Required Methods§

Source

fn create(&self, args: &PageStoreArgs<'_>) -> Result<Box<dyn PageStore>>

Create a new, empty PageStore for the leaf column described by args.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§