pub struct InMemoryTableStore { /* private fields */ }Expand description
In-memory per-(table, tablet) record-batch store backing
InMemoryFragmentExecutor.
Implementations§
Source§impl InMemoryTableStore
impl InMemoryTableStore
Sourcepub fn insert(&self, table: &str, tablet: TabletId, batch: RecordBatch)
pub fn insert(&self, table: &str, tablet: TabletId, batch: RecordBatch)
Appends one batch to a tablet of a table, registering the table’s schema from the batch on first sight.
Sourcepub fn register_schema(&self, table: &str, schema: SchemaRef)
pub fn register_schema(&self, table: &str, schema: SchemaRef)
Registers a table schema explicitly (covers tablets with no rows).
Trait Implementations§
Source§impl Default for InMemoryTableStore
impl Default for InMemoryTableStore
Source§fn default() -> InMemoryTableStore
fn default() -> InMemoryTableStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryTableStore
impl !RefUnwindSafe for InMemoryTableStore
impl !UnwindSafe for InMemoryTableStore
impl Send for InMemoryTableStore
impl Sync for InMemoryTableStore
impl Unpin for InMemoryTableStore
impl UnsafeUnpin for InMemoryTableStore
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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