pub struct ViewRewriteDefinition {
pub query: QueryPlan,
pub output_columns: Option<Vec<String>>,
pub options: Vec<(String, String)>,
pub kind: StoredViewKind,
pub materialized_column_types: Vec<Option<ColumnType>>,
}Fields§
§query: QueryPlan§output_columns: Option<Vec<String>>§options: Vec<(String, String)>§kind: StoredViewKind§materialized_column_types: Vec<Option<ColumnType>>Implementations§
Source§impl ViewRewriteDefinition
impl ViewRewriteDefinition
pub fn row_schema( &self, routines: &dyn RoutineResolution, catalog: CatalogReadView, resolution: RelationNameResolution, ) -> Result<RowSchema, SQLError>
Trait Implementations§
Source§impl Clone for ViewRewriteDefinition
impl Clone for ViewRewriteDefinition
Source§fn clone(&self) -> ViewRewriteDefinition
fn clone(&self) -> ViewRewriteDefinition
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 moreAuto Trait Implementations§
impl Freeze for ViewRewriteDefinition
impl RefUnwindSafe for ViewRewriteDefinition
impl Send for ViewRewriteDefinition
impl Sync for ViewRewriteDefinition
impl Unpin for ViewRewriteDefinition
impl UnsafeUnpin for ViewRewriteDefinition
impl UnwindSafe for ViewRewriteDefinition
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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