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§
Sourcefn create_reader(
&self,
file: &PartitionedFile,
session: &VortexSession,
) -> DFResult<Arc<dyn VortexReadAt>>
fn create_reader( &self, file: &PartitionedFile, session: &VortexSession, ) -> DFResult<Arc<dyn VortexReadAt>>
Create a reader for a target object.