pub struct KWayMergeFeed<F>where
F: FallibleBatchFeed,{ /* private fields */ }Expand description
Streaming deterministic merge over multiple fallible timestamp batch feeds.
Implementations§
Source§impl<F> KWayMergeFeed<F>where
F: FallibleBatchFeed,
impl<F> KWayMergeFeed<F>where
F: FallibleBatchFeed,
pub fn series_count(&self) -> usize
pub fn is_empty(&self) -> bool
Sourcepub fn next_timestamp_batch(
&mut self,
) -> Result<Option<TimestampBatch>, KWayMergeError<F::Error>>
pub fn next_timestamp_batch( &mut self, ) -> Result<Option<TimestampBatch>, KWayMergeError<F::Error>>
Return the next complete merged timestamp batch.
Trait Implementations§
Source§impl<F> FallibleBatchFeed for KWayMergeFeed<F>where
F: FallibleBatchFeed,
impl<F> FallibleBatchFeed for KWayMergeFeed<F>where
F: FallibleBatchFeed,
type Error = KWayMergeError<<F as FallibleBatchFeed>::Error>
Source§fn next_batch(&mut self) -> Result<Option<TimestampBatch>, Self::Error>
fn next_batch(&mut self) -> Result<Option<TimestampBatch>, Self::Error>
Return every event at the next timestamp, or
None at end of input.Auto Trait Implementations§
impl<F> Freeze for KWayMergeFeed<F>
impl<F> RefUnwindSafe for KWayMergeFeed<F>where
F: RefUnwindSafe,
impl<F> Send for KWayMergeFeed<F>where
F: Send,
impl<F> Sync for KWayMergeFeed<F>where
F: Sync,
impl<F> Unpin for KWayMergeFeed<F>where
F: Unpin,
impl<F> UnsafeUnpin for KWayMergeFeed<F>
impl<F> UnwindSafe for KWayMergeFeed<F>where
F: UnwindSafe,
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