pub enum Mutation {
Show 13 variants
Add(AddMutation),
Stop(StopMutation),
Update(UpdateMutation),
Splits(SourceChangeSplitMutation),
Pause(PauseMutation),
Resume(ResumeMutation),
Throttle(ThrottleMutation),
DropSubscriptions(DropSubscriptionsMutation),
ConnectorPropsChange(ConnectorPropsChangeMutation),
StartFragmentBackfill(StartFragmentBackfillMutation),
RefreshStart(RefreshStartMutation),
LoadFinish(LoadFinishMutation),
ListFinish(ListFinishMutation),
}Variants§
Add(AddMutation)
Add new dispatchers to some actors, used for creating materialized views.
Stop(StopMutation)
Stop a set of actors, used for dropping materialized views. Empty dispatchers will be automatically removed.
Update(UpdateMutation)
Update outputs and hash mappings for some dispatchers, used for scaling and replace table.
Splits(SourceChangeSplitMutation)
Change the split of some sources.
Pause(PauseMutation)
Pause the dataflow of the whole streaming graph, only used for scaling.
Resume(ResumeMutation)
Resume the dataflow of the whole streaming graph, only used for scaling.
Throttle(ThrottleMutation)
Throttle specific source exec or backfill exec.
DropSubscriptions(DropSubscriptionsMutation)
Drop subscription on mv
ConnectorPropsChange(ConnectorPropsChangeMutation)
Alter sink/connector/source props
StartFragmentBackfill(StartFragmentBackfillMutation)
Start backfilling for specific fragments
This is separated from ThrottleMutation::NO_RATE_LIMIT.
This is because user may concurrently rate limit + use backfill order control.
If we use rate limit to pause / resume backfill fragments, if user manually
resumes some fragments, this will overwrite the backfill order configuration.
RefreshStart(RefreshStartMutation)
Start refresh signal for refreshing tables
LoadFinish(LoadFinishMutation)
Load finish signal for refreshing tables
ListFinish(ListFinishMutation)
List finish signal for refreshing tables
Implementations§
Source§impl Mutation
impl Mutation
Sourcepub fn merge(
field: &mut Option<Mutation>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Mutation>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Mutation
Auto Trait Implementations§
impl Freeze for Mutation
impl RefUnwindSafe for Mutation
impl Send for Mutation
impl Sync for Mutation
impl Unpin for Mutation
impl UnwindSafe for Mutation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Any.§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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request