Struct structured::Table [−][src]
pub struct Table { /* fields omitted */ }
Expand description
Structured data represented in a column-oriented form.
Implementations
Creates a new Table
with the given schema
and columns
.
Errors
Returns an error if columns
have different lengths.
Moves all the rows of other
intot self
, leaving other
empty.
Panics
Panics if the types of columns are different, or the number of rows
overflows usize
.
Returns the number of columns in the table.
pub fn statistics(
&self,
rows: &[usize],
column_types: &Arc<Vec<ColumnType>>,
r_enum_maps: &HashMap<usize, HashMap<u64, Vec<String>>>,
time_intervals: &Arc<Vec<u32>>,
numbers_of_top_n: &Arc<Vec<u32>>
) -> Vec<ColumnStatistics>
pub fn count_group_by(
&self,
rows: &[usize],
column_types: &Arc<Vec<ColumnType>>,
by_column: usize,
by_interval: Option<u32>,
count_columns: &Arc<Vec<usize>>
) -> Vec<GroupCount>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Table
impl !UnwindSafe for Table
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V