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>>,
pub materialized_column_collations: Option<Vec<u32>>,
}Fields§
§query: QueryPlan§output_columns: Option<Vec<String>>§options: Vec<(String, String)>§kind: StoredViewKind§materialized_column_types: Vec<Option<ColumnType>>§materialized_column_collations: Option<Vec<u32>>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§impl<'a> From<&'a ViewRewriteDefinition> for ViewRewriteDefinitionRef<'a>
impl<'a> From<&'a ViewRewriteDefinition> for ViewRewriteDefinitionRef<'a>
Source§fn from(definition: &'a ViewRewriteDefinition) -> Self
fn from(definition: &'a ViewRewriteDefinition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ViewRewriteDefinition
impl !UnwindSafe for ViewRewriteDefinition
impl Freeze for ViewRewriteDefinition
impl Send for ViewRewriteDefinition
impl Sync for ViewRewriteDefinition
impl Unpin for ViewRewriteDefinition
impl UnsafeUnpin 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