pub struct DefaultSchemaAdapterFactory;๐Deprecated since 52.0.0: DefaultSchemaAdapterFactory has been removed. Use PhysicalExprAdapterFactory instead. See upgrading.md for more details.
Expand description
Deprecated: Default SchemaAdapterFactory for mapping schemas.
This struct has been removed. Use PhysicalExprAdapterFactory instead.
See upgrading.md for more details.
Implementationsยง
Sourceยงimpl DefaultSchemaAdapterFactory
impl DefaultSchemaAdapterFactory
Sourcepub fn from_schema(table_schema: SchemaRef) -> Box<dyn SchemaAdapter>
๐Deprecated since 52.0.0: DefaultSchemaAdapterFactory has been removed. Use PhysicalExprAdapterFactory instead. See upgrading.md for more details.
pub fn from_schema(table_schema: SchemaRef) -> Box<dyn SchemaAdapter>
Deprecated: Create a new factory for mapping batches from a file schema to a table schema.
Trait Implementationsยง
Sourceยงimpl Clone for DefaultSchemaAdapterFactory
impl Clone for DefaultSchemaAdapterFactory
Sourceยงfn clone(&self) -> DefaultSchemaAdapterFactory
fn clone(&self) -> DefaultSchemaAdapterFactory
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for DefaultSchemaAdapterFactory
impl Debug for DefaultSchemaAdapterFactory
Sourceยงimpl Default for DefaultSchemaAdapterFactory
impl Default for DefaultSchemaAdapterFactory
Sourceยงfn default() -> DefaultSchemaAdapterFactory
fn default() -> DefaultSchemaAdapterFactory
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl SchemaAdapterFactory for DefaultSchemaAdapterFactory
impl SchemaAdapterFactory for DefaultSchemaAdapterFactory
Sourceยงfn create(
&self,
projected_table_schema: SchemaRef,
_table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter>
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
SchemaAdapterSourceยงfn create_with_projected_schema(
&self,
projected_table_schema: SchemaRef,
) -> Box<dyn SchemaAdapter>
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.Auto Trait Implementationsยง
impl Freeze for DefaultSchemaAdapterFactory
impl RefUnwindSafe for DefaultSchemaAdapterFactory
impl Send for DefaultSchemaAdapterFactory
impl Sync for DefaultSchemaAdapterFactory
impl Unpin for DefaultSchemaAdapterFactory
impl UnwindSafe for DefaultSchemaAdapterFactory
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more