Struct datafusion::rel::Schema
[−]
[src]
pub struct Schema { pub columns: Vec<Field>, }
Definition of a relation (data set) consisting of one or more columns.
Fields
columns: Vec<Field>
Methods
impl Schema
[src]
fn empty() -> Self
[src]
create an empty tuple
fn new(columns: Vec<Field>) -> Self
[src]
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