Trait lance_arrow::schema::SchemaExt

source ·
pub trait SchemaExt {
    // Required methods
    fn try_with_column(&self, field: Field) -> Result<Schema, ArrowError>;
    fn try_with_column_at(
        &self,
        index: usize,
        field: Field
    ) -> Result<Schema, ArrowError>;
    fn field_names(&self) -> Vec<&String>;
}
Expand description

Extends the functionality of arrow_schema::Schema.

Required Methods§

source

fn try_with_column(&self, field: Field) -> Result<Schema, ArrowError>

Create a new Schema with one extra field.

source

fn try_with_column_at( &self, index: usize, field: Field ) -> Result<Schema, ArrowError>

source

fn field_names(&self) -> Vec<&String>

Implementations on Foreign Types§

source§

impl SchemaExt for Schema

Implementors§