pub enum AlterViewOperation {
RenameView {
view_name: ObjectName,
},
ChangeOwner {
new_owner_name: Ident,
},
SetSchema {
new_schema_name: ObjectName,
},
SetParallelism {
parallelism: SetVariableValue,
deferred: bool,
},
SetResourceGroup {
resource_group: Option<SetVariableValue>,
deferred: bool,
},
SetBackfillRateLimit {
rate_limit: i32,
},
SwapRenameView {
target_view: ObjectName,
},
SetStreamingEnableUnalignedJoin {
enable: bool,
},
AsQuery {
query: Box<Query>,
},
SetConfig {
entries: Vec<SqlOption>,
},
ResetConfig {
keys: Vec<ObjectName>,
},
}Variants§
RenameView
Fields
§
view_name: ObjectNameChangeOwner
SetSchema
Fields
§
new_schema_name: ObjectNameSetParallelism
SET PARALLELISM TO <parallelism> [ DEFERRED ]
SetResourceGroup
SET RESOURCE_GROUP TO 'RESOURCE GROUP' [ DEFERRED ]
RESET RESOURCE_GROUP [ DEFERRED ]
SetBackfillRateLimit
SET BACKFILL_RATE_LIMIT TO <rate_limit>
SwapRenameView
SWAP WITH <view_name>
Fields
§
target_view: ObjectNameSetStreamingEnableUnalignedJoin
AsQuery
AS <query>
SetConfig
SET CONFIG ( streaming.some_config_key = <some_config_value>, .. )
ResetConfig
RESET CONFIG ( streaming.some_config_key, .. )
Fields
§
keys: Vec<ObjectName>Trait Implementations§
Source§impl Clone for AlterViewOperation
impl Clone for AlterViewOperation
Source§fn clone(&self) -> AlterViewOperation
fn clone(&self) -> AlterViewOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlterViewOperation
impl Debug for AlterViewOperation
Source§impl Display for AlterViewOperation
impl Display for AlterViewOperation
Source§impl Hash for AlterViewOperation
impl Hash for AlterViewOperation
Source§impl PartialEq for AlterViewOperation
impl PartialEq for AlterViewOperation
impl Eq for AlterViewOperation
impl StructuralPartialEq for AlterViewOperation
Auto Trait Implementations§
impl Freeze for AlterViewOperation
impl RefUnwindSafe for AlterViewOperation
impl Send for AlterViewOperation
impl Sync for AlterViewOperation
impl Unpin for AlterViewOperation
impl UnwindSafe for AlterViewOperation
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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