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§
Source§impl Default for MaterializedViewRegistry
impl Default for MaterializedViewRegistry
Source§fn default() -> MaterializedViewRegistry
fn default() -> MaterializedViewRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MaterializedViewRegistry
impl !RefUnwindSafe for MaterializedViewRegistry
impl Send for MaterializedViewRegistry
impl Sync for MaterializedViewRegistry
impl Unpin for MaterializedViewRegistry
impl !UnwindSafe for MaterializedViewRegistry
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