Skip to main content

VortexReaderFactory

Trait VortexReaderFactory 

Source
pub trait VortexReaderFactory:
    Debug
    + Send
    + Sync
    + 'static {
    // Required method
    fn create_reader(
        &self,
        file: &PartitionedFile,
        session: &VortexSession,
    ) -> DFResult<Arc<dyn VortexReadAt>>;
}
Expand description

Factory to create VortexReadAt instances to read the target file.

Required Methods§

Source

fn create_reader( &self, file: &PartitionedFile, session: &VortexSession, ) -> DFResult<Arc<dyn VortexReadAt>>

Create a reader for a target object.

Implementors§