pub struct CoGroupOperator { /* private fields */ }Expand description
CoGroup operator for two streams.
Implementations§
Source§impl CoGroupOperator
impl CoGroupOperator
Sourcepub async fn add_left(&self, element: StreamElement) -> Result<()>
pub async fn add_left(&self, element: StreamElement) -> Result<()>
Add a left element.
Sourcepub async fn add_right(&self, element: StreamElement) -> Result<()>
pub async fn add_right(&self, element: StreamElement) -> Result<()>
Add a right element.
Sourcepub async fn get_results(
&self,
key: &[u8],
) -> (Vec<StreamElement>, Vec<StreamElement>)
pub async fn get_results( &self, key: &[u8], ) -> (Vec<StreamElement>, Vec<StreamElement>)
Get cogroup results for a key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoGroupOperator
impl !RefUnwindSafe for CoGroupOperator
impl Send for CoGroupOperator
impl Sync for CoGroupOperator
impl Unpin for CoGroupOperator
impl UnsafeUnpin for CoGroupOperator
impl !UnwindSafe for CoGroupOperator
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