Trait datafusion_common::ToDFSchema
source · [−]pub trait ToDFSchema where
Self: Sized, {
fn to_dfschema(self) -> Result<DFSchema>;
fn to_dfschema_ref(self) -> Result<DFSchemaRef> { ... }
}
Expand description
Convenience trait to convert Schema like things to DFSchema and DFSchemaRef with fewer keystrokes
Required Methods
fn to_dfschema(self) -> Result<DFSchema>
fn to_dfschema(self) -> Result<DFSchema>
Attempt to create a DSSchema
Provided Methods
fn to_dfschema_ref(self) -> Result<DFSchemaRef>
fn to_dfschema_ref(self) -> Result<DFSchemaRef>
Attempt to create a DSSchemaRef