Struct dbkit_engine::block::Column
[−]
[src]
pub struct Column<'alloc> {
// some fields omitted
}Typed Data Column. Contains a vector of column rows, and optionally a nul vector.
Knows its capacity but not size, has no concept of current. Those properties are fulfilled by it's parent container (types such as Block).
Methods
impl<'alloc> Column<'alloc>[src]
fn mut_nulls(&mut self) -> Result<MutBoolBitmap, DBError>
fn rows_mut<T: TypeInfo>(&mut self) -> Result<&mut [T::Store], DBError>
fn set_capacity(&mut self, rows: RowOffset) -> Option<DBError>
Change the capacity of the Column
Trait Implementations
impl<'alloc> RefColumn<'alloc> for Column<'alloc>[src]
fn attribute(&self) -> &Attribute
fn capacity(&self) -> usize
Row capacity
unsafe fn rows_ptr(&self) -> *const u8
Pointer to the beginning of the raw row data
unsafe fn nulls_ptr(&self) -> *const u8
Pointer to the beginning of the raw row data
fn rows_raw_slice(&'alloc self) -> &'alloc [u8]
Will panic if there's no row data
fn nulls_raw_slice(&'alloc self) -> &'alloc [u8]
Will panic if there's no null data