pub struct MatviewsApi<'a> { /* private fields */ }Expand description
Materialized Views API
Implementations§
Source§impl<'a> MatviewsApi<'a>
impl<'a> MatviewsApi<'a>
Sourcepub async fn upsert(
&self,
request: &UpsertMatviewRequest,
) -> Result<UpsertMatviewResponse>
pub async fn upsert( &self, request: &UpsertMatviewRequest, ) -> Result<UpsertMatviewResponse>
Create or update a materialized view
Sourcepub async fn list(&self) -> Result<ListMatviewsResponse>
pub async fn list(&self) -> Result<ListMatviewsResponse>
List all materialized views
Sourcepub async fn list_with_options(
&self,
options: &ListMatviewsOptions,
) -> Result<ListMatviewsResponse>
pub async fn list_with_options( &self, options: &ListMatviewsOptions, ) -> Result<ListMatviewsResponse>
List materialized views with options
Sourcepub async fn refresh(&self, name: &str) -> Result<RefreshMatviewResponse>
pub async fn refresh(&self, name: &str) -> Result<RefreshMatviewResponse>
Refresh a materialized view
Sourcepub async fn refresh_with_options(
&self,
name: &str,
request: &RefreshMatviewRequest,
) -> Result<RefreshMatviewResponse>
pub async fn refresh_with_options( &self, name: &str, request: &RefreshMatviewRequest, ) -> Result<RefreshMatviewResponse>
Refresh a materialized view with options
Sourcepub async fn delete(&self, name: &str) -> Result<DeleteMatviewResponse>
pub async fn delete(&self, name: &str) -> Result<DeleteMatviewResponse>
Delete a materialized view
Auto Trait Implementations§
impl<'a> Freeze for MatviewsApi<'a>
impl<'a> !RefUnwindSafe for MatviewsApi<'a>
impl<'a> Send for MatviewsApi<'a>
impl<'a> Sync for MatviewsApi<'a>
impl<'a> Unpin for MatviewsApi<'a>
impl<'a> !UnwindSafe for MatviewsApi<'a>
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