pub struct ColumnarStore { /* private fields */ }Expand description
Columnar store with multiple tables
Implementations§
Source§impl ColumnarStore
impl ColumnarStore
Sourcepub fn create_table(&mut self, name: impl Into<String>) -> &mut ColumnarTable
pub fn create_table(&mut self, name: impl Into<String>) -> &mut ColumnarTable
Create a new table
Sourcepub fn get_table(&self, name: &str) -> Option<&ColumnarTable>
pub fn get_table(&self, name: &str) -> Option<&ColumnarTable>
Get a table by name
Sourcepub fn get_table_mut(&mut self, name: &str) -> Option<&mut ColumnarTable>
pub fn get_table_mut(&mut self, name: &str) -> Option<&mut ColumnarTable>
Get a mutable table by name
Sourcepub fn drop_table(&mut self, name: &str) -> bool
pub fn drop_table(&mut self, name: &str) -> bool
Drop a table
Sourcepub fn memory_size(&self) -> usize
pub fn memory_size(&self) -> usize
Get total memory usage
Trait Implementations§
Source§impl Debug for ColumnarStore
impl Debug for ColumnarStore
Source§impl Default for ColumnarStore
impl Default for ColumnarStore
Source§fn default() -> ColumnarStore
fn default() -> ColumnarStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColumnarStore
impl RefUnwindSafe for ColumnarStore
impl Send for ColumnarStore
impl Sync for ColumnarStore
impl Unpin for ColumnarStore
impl UnwindSafe for ColumnarStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more