Struct arrow::datatypes::Schema
[−]
[src]
pub struct Schema { /* fields omitted */ }
Arrow Schema
Methods
impl Schema
[src]
pub fn empty() -> Self
[src]
create an empty schema
pub fn new(columns: Vec<Field>) -> Self
[src]
pub fn columns(&self) -> &Vec<Field>
[src]
pub fn column(&self, name: &str) -> Option<(usize, &Field)>
[src]
look up a column by name and return a reference to the column along with it's index
Trait Implementations
impl Debug for Schema
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Schema
[src]
fn clone(&self) -> Schema
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more