pub struct IpMappingCoProcessFunction { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl CheckpointFunction for IpMappingCoProcessFunction
impl CheckpointFunction for IpMappingCoProcessFunction
fn consult_version( &mut self, context: &FunctionSnapshotContext, _handle: &Option<CheckpointHandle>, ) -> CheckpointId
Source§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
initializationSource§fn snapshot_state(
&mut self,
_context: &FunctionSnapshotContext,
) -> Option<CheckpointHandle>
fn snapshot_state( &mut self, _context: &FunctionSnapshotContext, ) -> Option<CheckpointHandle>
trigger the method when the
operator
operate a Barrier
eventSource§impl CoProcessFunction for IpMappingCoProcessFunction
impl CoProcessFunction for IpMappingCoProcessFunction
fn open(&mut self, _context: &Context) -> Result<()>
Source§fn process_left(&mut self, record: Record) -> Box<dyn Iterator<Item = Record>>
fn process_left(&mut self, record: Record) -> Box<dyn Iterator<Item = Record>>
This method is called for each element in the first of the connected streams. Read more
fn process_right( &mut self, stream_seq: usize, record: Record, ) -> Box<dyn Iterator<Item = Record>>
fn close(&mut self) -> Result<()>
fn schema(&self, _input_schema: FnSchema) -> FnSchema
Source§impl Debug for IpMappingCoProcessFunction
impl Debug for IpMappingCoProcessFunction
Auto Trait Implementations§
impl Freeze for IpMappingCoProcessFunction
impl RefUnwindSafe for IpMappingCoProcessFunction
impl Send for IpMappingCoProcessFunction
impl Sync for IpMappingCoProcessFunction
impl Unpin for IpMappingCoProcessFunction
impl UnwindSafe for IpMappingCoProcessFunction
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> 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 more