Skip to main content

PhysicalExprAdapterFactory

Trait PhysicalExprAdapterFactory 

Source
pub trait PhysicalExprAdapterFactory:
    Send
    + Sync
    + Debug {
    // Required method
    fn create(
        &self,
        logical_file_schema: SchemaRef,
        physical_file_schema: SchemaRef,
    ) -> Result<Arc<dyn PhysicalExprAdapter>>;
}
Expand description

Creates instances of PhysicalExprAdapter for given logical and physical schemas.

See DefaultPhysicalExprAdapterFactory for the default implementation.

Required Methods§

Source

fn create( &self, logical_file_schema: SchemaRef, physical_file_schema: SchemaRef, ) -> Result<Arc<dyn PhysicalExprAdapter>>

Create a new instance of the physical expression adapter.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§