pub struct LookupTableRegistry { /* private fields */ }Expand description
Thread-safe registry of lookup table entries (snapshot or partial).
The db layer populates this when CREATE LOOKUP TABLE executes;
the LookupJoinExtensionPlanner reads it at physical plan time.
Implementations§
Source§impl LookupTableRegistry
impl LookupTableRegistry
Sourcepub fn register(&self, name: &str, snapshot: LookupSnapshot)
pub fn register(&self, name: &str, snapshot: LookupSnapshot)
Sourcepub fn register_partial(&self, name: &str, state: PartialLookupState)
pub fn register_partial(&self, name: &str, state: PartialLookupState)
Registers or replaces a partial (on-demand) lookup table.
§Panics
Panics if the internal lock is poisoned.
Sourcepub fn register_versioned(&self, name: &str, state: VersionedLookupState)
pub fn register_versioned(&self, name: &str, state: VersionedLookupState)
Registers or replaces a versioned (temporal) lookup table.
§Panics
Panics if the internal lock is poisoned.
Sourcepub fn unregister(&self, name: &str)
pub fn unregister(&self, name: &str)
Trait Implementations§
Source§impl Default for LookupTableRegistry
impl Default for LookupTableRegistry
Source§fn default() -> LookupTableRegistry
fn default() -> LookupTableRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for LookupTableRegistry
impl !RefUnwindSafe for LookupTableRegistry
impl Send for LookupTableRegistry
impl Sync for LookupTableRegistry
impl Unpin for LookupTableRegistry
impl UnsafeUnpin for LookupTableRegistry
impl !UnwindSafe for LookupTableRegistry
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.