Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
ToDFSchema in datafusion_common - Rust
[go: Go Back, main page]

Trait datafusion_common::ToDFSchema

source ·
pub trait ToDFSchema
where Self: Sized,
{ // Required method fn to_dfschema(self) -> Result<DFSchema>; // Provided method 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§

source

fn to_dfschema(self) -> Result<DFSchema>

Attempt to create a DSSchema

Provided Methods§

source

fn to_dfschema_ref(self) -> Result<DFSchemaRef>

Attempt to create a DSSchemaRef

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ToDFSchema for Vec<Field>

source§

impl ToDFSchema for Schema

source§

impl ToDFSchema for SchemaRef

Implementors§