pub trait SchemaAdapterFactory:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn create(
&self,
projected_table_schema: SchemaRef,
table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter>;
// Provided method
fn create_with_projected_schema(
&self,
projected_table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter> { ... }
}๐Deprecated since 52.0.0: SchemaAdapter has been removed. Use PhysicalExprAdapterFactory instead. See upgrading.md for more details.
Expand description
Deprecated: Factory for creating SchemaAdapter.
This trait has been removed. Use PhysicalExprAdapterFactory instead.
See upgrading.md for more details.
Required Methodsยง
Sourcefn create(
&self,
projected_table_schema: SchemaRef,
table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter>
๐Deprecated since 52.0.0: SchemaAdapter has been removed. Use PhysicalExprAdapterFactory instead. See upgrading.md for more details.
fn create( &self, projected_table_schema: SchemaRef, table_schema: SchemaRef, ) -> Box<dyn SchemaAdapter>
Create a SchemaAdapter
Provided Methodsยง
Sourcefn create_with_projected_schema(
&self,
projected_table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter>
๐Deprecated since 52.0.0: SchemaAdapter has been removed. Use PhysicalExprAdapterFactory instead. See upgrading.md for more details.
fn create_with_projected_schema( &self, projected_table_schema: SchemaRef, ) -> Box<dyn SchemaAdapter>
Create a SchemaAdapter using only the projected table schema.