pub struct TransactionZ1<T> { /* private fields */ }Implementations§
Source§impl<T> TransactionZ1<T>where
T: Checkpoint + Clone,
impl<T> TransactionZ1<T>where
T: Checkpoint + Clone,
Trait Implementations§
Source§impl<T> Operator for TransactionZ1<T>
impl<T> Operator for TransactionZ1<T>
Source§fn clock_start(&mut self, _scope: Scope)
fn clock_start(&mut self, _scope: Scope)
Notify the operator about the start of a new clock epoch. Read more
fn clock_end(&mut self, _scope: Scope)
Source§fn init(&mut self, global_id: &GlobalNodeId)
fn init(&mut self, global_id: &GlobalNodeId)
Initialize the operator
Source§fn fixedpoint(&self, scope: Scope) -> bool
fn fixedpoint(&self, scope: Scope) -> bool
Check if the operator is in a stable state. Read more
Source§fn checkpoint(
&mut self,
base: &StoragePath,
persistent_id: Option<&str>,
files: &mut Vec<Arc<dyn FileCommitter>>,
) -> Result<(), Error>
fn checkpoint( &mut self, base: &StoragePath, persistent_id: Option<&str>, files: &mut Vec<Arc<dyn FileCommitter>>, ) -> Result<(), Error>
Instructs the operator to checkpoint its state to persistent storage in
directory
base. Any files that the operator creates should have
persistent_id in their names to keep them unique. Read moreSource§fn restore(
&mut self,
base: &StoragePath,
persistent_id: Option<&str>,
) -> Result<(), Error>
fn restore( &mut self, base: &StoragePath, persistent_id: Option<&str>, ) -> Result<(), Error>
Instruct the operator to restore its state from persistent storage in
directory
base, using persistent_id to find its files. Read moreSource§fn flush(&mut self)
fn flush(&mut self)
Notifies the operator that all of its predecessors have produced
all outputs for the current transaction. Read more
Source§fn location(&self) -> OperatorLocation
fn location(&self) -> OperatorLocation
The location the operator was created at
Source§fn metadata(&self, _meta: &mut OperatorMeta)
fn metadata(&self, _meta: &mut OperatorMeta)
Collects metadata about the current operator
Source§fn register_ready_callback<F>(&mut self, _cb: F)
fn register_ready_callback<F>(&mut self, _cb: F)
Register callback to be invoked when an asynchronous operator becomes
ready. Read more
Source§fn start_replay(&mut self) -> Result<(), Error>
fn start_replay(&mut self) -> Result<(), Error>
Start replaying the operator’s state to the replay stream. Read more
Source§fn is_replay_complete(&self) -> bool
fn is_replay_complete(&self) -> bool
Check if the operator has finished replaying its state. Read more
Source§fn end_replay(&mut self) -> Result<(), Error>
fn end_replay(&mut self) -> Result<(), Error>
Cleanup any state needed for replay and prepare the operator for normal operation. Read more
Source§fn start_transaction(&mut self)
fn start_transaction(&mut self)
Notify the operator about start of a transaction. Read more
Source§fn is_flush_complete(&self) -> bool
fn is_flush_complete(&self) -> bool
Invoked after
flush after each eval call to check if all outputs
have been produced. Because it is invoked only after calling eval,
every operator must produce at least one output. Read moreSource§fn flush_progress(&self) -> Option<Position>
fn flush_progress(&self) -> Option<Position>
Returns the current progress of the operator in processing the current transaction. Read more
Source§fn start_compaction(&mut self)
fn start_compaction(&mut self)
Start compaction of the operator’s state. Read more
Source§impl<T> UnaryOperator<T, T> for TransactionZ1<T>
impl<T> UnaryOperator<T, T> for TransactionZ1<T>
Source§fn input_preference(&self) -> OwnershipPreference
fn input_preference(&self) -> OwnershipPreference
Ownership preference on the operator’s input stream
(see
OwnershipPreference).Source§async fn eval_owned(&mut self, input: I) -> O
async fn eval_owned(&mut self, input: I) -> O
Consume input by value.
Auto Trait Implementations§
impl<T> Freeze for TransactionZ1<T>where
T: Freeze,
impl<T> RefUnwindSafe for TransactionZ1<T>where
T: RefUnwindSafe,
impl<T> Send for TransactionZ1<T>where
T: Send,
impl<T> Sync for TransactionZ1<T>where
T: Sync,
impl<T> Unpin for TransactionZ1<T>where
T: Unpin,
impl<T> UnsafeUnpin for TransactionZ1<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TransactionZ1<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.