Struct datafusion::rel::TupleType
[−]
[src]
pub struct TupleType { pub columns: Vec<ColumnMeta>, }
Definition of a relation (data set) consisting of one or more columns.
Fields
columns: Vec<ColumnMeta>
Methods
impl TupleType
[src]
fn empty() -> Self
[src]
create an empty tuple
fn new(columns: Vec<ColumnMeta>) -> Self
[src]
fn column(&self, name: &str) -> Option<(usize, &ColumnMeta)>
[src]
look up a column by name and return a reference to the column along with it's index