pub struct FlowKeyContext { /* private fields */ }Expand description
Key context for flow-structural partition keys.
Implementations§
Source§impl FlowKeyContext
impl FlowKeyContext
pub fn new(partition: &Partition, fid: &FlowId) -> Self
Sourcepub fn member(&self, eid: &ExecutionId) -> String
pub fn member(&self, eid: &ExecutionId) -> String
ff:flow:{fp:N}:<flow_id>:member:<eid>
Sourcepub fn outgoing(&self, upstream_eid: &ExecutionId) -> String
pub fn outgoing(&self, upstream_eid: &ExecutionId) -> String
ff:flow:{fp:N}:<flow_id>:out:<upstream_eid>
Sourcepub fn incoming(&self, downstream_eid: &ExecutionId) -> String
pub fn incoming(&self, downstream_eid: &ExecutionId) -> String
ff:flow:{fp:N}:<flow_id>:in:<downstream_eid>
pub fn hash_tag(&self) -> &str
Auto Trait Implementations§
impl Freeze for FlowKeyContext
impl RefUnwindSafe for FlowKeyContext
impl Send for FlowKeyContext
impl Sync for FlowKeyContext
impl Unpin for FlowKeyContext
impl UnsafeUnpin for FlowKeyContext
impl UnwindSafe for FlowKeyContext
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