#[repr(u8)]pub enum MultiStore {
Standard(StandardMultiStore),
}Variants§
Standard(StandardMultiStore)
Implementations§
Source§impl MultiStore
impl MultiStore
pub fn standard(config: MultiStoreConfig) -> Self
Source§impl MultiStore
impl MultiStore
pub fn testing_memory() -> Self
pub fn testing_memory_with_eventbus(event_bus: EventBus) -> Self
pub fn testing_memory_with_persistent_sqlite() -> (Self, SqliteTempPathGuard)
pub fn testing_memory_with_persistent_sqlite_with_eventbus( event_bus: EventBus, ) -> (Self, SqliteTempPathGuard)
pub fn flush_pending_blocking(&self)
pub fn flush_all_blocking(&self)
pub fn commit(&self) -> &CommitStore
pub fn metrics_collectors(&self) -> Vec<Arc<dyn MetricsCollector>>
pub fn range_shard_metrics(&self) -> Vec<MultiRangeShardMetrics>
pub fn point_shard_metrics(&self) -> Vec<MultiPointShardMetrics>
pub fn commit_metrics(&self) -> MultiCommitMetrics
pub fn persistent_page_cache_metrics(&self) -> Option<PageCacheMetrics>
pub fn persistent_probe_metrics(&self) -> Option<MultiPersistentProbeMetrics>
pub fn persistent_filter_metrics(&self) -> Option<FilterMetrics>
pub fn persistent(&self) -> Option<&MultiPersistentTier>
pub fn clear_eviction_watermark(&self)
Source§impl MultiStore
impl MultiStore
pub fn range( &self, range: EncodedKeyRange, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionRangeIterator<'_>
pub fn range_row( &self, storage: StorageId, start: Bound<StorageRowKey>, end: Bound<StorageRowKey>, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionRowRangeIterator<'_>
pub fn range_partitioned_row( &self, storage: StorageId, start: Bound<StoragePartitionedRowKey>, end: Bound<StoragePartitionedRowKey>, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionPartitionedRowRangeIterator<'_>
pub fn range_persistence( &self, range: EncodedKeyRange, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionRangeIterator<'_>
pub fn range_rev( &self, range: EncodedKeyRange, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionRangeIterator<'_>
pub fn range_rev_persistence( &self, range: EncodedKeyRange, scope: MultiVersionScope, batch_size: usize, ) -> MultiVersionRangeIterator<'_>
pub fn get_many( &self, keys: &[EncodedKey], version: CommitVersion, ) -> Result<HashMap<EncodedKey, MultiVersionRow>>
pub fn get_many_versioned( &self, keys: &[EncodedKey], version: CommitVersion, ) -> Result<HashMap<EncodedKey, VersionedGetResult>>
Trait Implementations§
Source§impl Clone for MultiStore
impl Clone for MultiStore
Source§fn clone(&self) -> MultiStore
fn clone(&self) -> MultiStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl MultiVersionCommit for MultiStore
impl MultiVersionCommit for MultiStore
Source§impl MultiVersionContains for MultiStore
impl MultiVersionContains for MultiStore
Source§impl MultiVersionGet for MultiStore
impl MultiVersionGet for MultiStore
fn get( &self, key: &TaggedKey, version: CommitVersion, ) -> Result<Option<MultiVersionRow<TaggedKey>>>
Source§impl MultiVersionGetPrevious for MultiStore
impl MultiVersionGetPrevious for MultiStore
fn get_previous_version( &self, key: &TaggedKey, before_version: CommitVersion, ) -> Result<Option<MultiVersionRow<TaggedKey>>>
impl MultiVersionStore for MultiStore
Auto Trait Implementations§
impl !RefUnwindSafe for MultiStore
impl !UnwindSafe for MultiStore
impl Freeze for MultiStore
impl Send for MultiStore
impl Sync for MultiStore
impl Unpin for MultiStore
impl UnsafeUnpin for MultiStore
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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