Struct arrow::datatypes::Schema
[−]
[src]
pub struct Schema { pub columns: Vec<Field>, }
Fields
columns: Vec<Field>
Methods
impl Schema
[src]
pub fn empty() -> Self
[src]
create an empty schema
pub fn new(columns: Vec<Field>) -> Self
[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
pub fn to_string(&self) -> String
[src]
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