pub struct MaterializedViewRegistry { /* private fields */ }Expand description
Registry of materialized views
Implementations§
Source§impl MaterializedViewRegistry
impl MaterializedViewRegistry
pub fn new() -> Self
Sourcepub fn register(&mut self, view: MaterializedView)
pub fn register(&mut self, view: MaterializedView)
Register a materialized view
Sourcepub fn get_dependents(&self, source_id: &str) -> Vec<Arc<MaterializedView>>
pub fn get_dependents(&self, source_id: &str) -> Vec<Arc<MaterializedView>>
Get all views that depend on a source
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MaterializedViewRegistry
impl !UnwindSafe for MaterializedViewRegistry
impl Forget for MaterializedViewRegistry
impl Freeze for MaterializedViewRegistrywhere
*const u8 is !null: Freeze,
PhantomData<(String, Arc<MaterializedView>)>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
impl Move for MaterializedViewRegistry
impl Send for MaterializedViewRegistry
impl Sync for MaterializedViewRegistry
impl Unpin for MaterializedViewRegistry
impl UnsafeUnpin for MaterializedViewRegistrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, Arc<MaterializedView>)>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
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