SchemaAdapterFactory

Trait SchemaAdapterFactory 

Source
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ยง

Source

fn 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.

Create a SchemaAdapter

Provided Methodsยง

Source

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.

Create a SchemaAdapter using only the projected table schema.

Implementorsยง