Struct dbkit_engine::table::Table
[−]
[src]
pub struct Table<'alloc> {
// some fields omitted
}Abstraction on top of a Block for easy construction and modification of contained data.
The container assumes that all operations on the block are safe and schema type conforming. In case of errors it simply panics.
Methods
impl<'alloc> Table<'alloc>[src]
fn new(alloc: &'alloc Allocator, schema: &Schema, capacity: Option<RowOffset>) -> Table<'alloc>
fn add_row(&mut self) -> Result<RowOffset, DBError>
fn block_ref(&self) -> &'alloc Block
fn block_ref_mut(&mut self) -> &'alloc mut Block
fn take(&mut self) -> Option<Block<'alloc>>
fn column_mut(&mut self, pos: usize) -> Option<&mut Column<'alloc>>
panics on out of bounds column