Struct rlink::functions::watermark::default_watermark_strategy::DefaultWatermarkStrategy [−][src]
pub struct DefaultWatermarkStrategy { /* fields omitted */ }
Implementations
pub fn for_watermark_generator<T>(self, generator: T) -> Self where
T: WatermarkGenerator + 'static,
pub fn for_timestamp_assigner<T>(self, assigner: T) -> Self where
T: TimestampAssigner + 'static,
Trait Implementations
fn consult_version(
&mut self,
context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
) -> CheckpointId
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
fn initialize_state(
&mut self,
_context: &FunctionSnapshotContext,
_handle: &Option<CheckpointHandle>
)
trigger the method when a operator
initialization
trigger the method when the operator
operate a Barrier
event
Instantiates a WatermarkGenerator
that generates watermarks according to this strategy.
Instantiates a TimestampAssigner
for assigning timestamps according to this strategy.
Auto Trait Implementations
impl !RefUnwindSafe for DefaultWatermarkStrategy
impl !Send for DefaultWatermarkStrategy
impl !Sync for DefaultWatermarkStrategy
impl Unpin for DefaultWatermarkStrategy
impl !UnwindSafe for DefaultWatermarkStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self