pub trait PhysicalExprAdapterFactory:
Send
+ Sync
+ Debug {
// Required method
fn create(
&self,
logical_file_schema: Arc<Schema>,
physical_file_schema: Arc<Schema>,
) -> Result<Arc<dyn PhysicalExprAdapter>, DataFusionError>;
}Expand description
Creates instances of PhysicalExprAdapter for given logical and physical schemas.
See DefaultPhysicalExprAdapterFactory for the default implementation.
Required Methods§
Sourcefn create(
&self,
logical_file_schema: Arc<Schema>,
physical_file_schema: Arc<Schema>,
) -> Result<Arc<dyn PhysicalExprAdapter>, DataFusionError>
fn create( &self, logical_file_schema: Arc<Schema>, physical_file_schema: Arc<Schema>, ) -> Result<Arc<dyn PhysicalExprAdapter>, DataFusionError>
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".