pub enum StreamingStep {
ClusterGroup {
key: DecoratedKey,
row: Box<MergeEntry>,
},
PartitionEnd {
key: DecoratedKey,
},
Complete,
}Expand description
A single streaming increment from StreamingMerger::step_streaming
(issue #1668, stage 2). Distinct from [MergeStep] (unchanged, still the
production shape) so no existing match/while let MergeStep::Partition
call site anywhere in the codebase is affected by this addition.
Variants§
ClusterGroup
One already-reconciled row belonging to key’s partition, in the SAME
relative order MergeStep::Partition { rows, .. } would have held it
(range/partition-tombstone carriers first, then clustering rows in
schema-aware clustering order — see merge_partition_rows).
Fields
key: DecoratedKeyPartition key this row belongs to.
row: Box<MergeEntry>The reconciled row (or carrier re-emission). Boxed: Complete is
zero-sized, so an inline MergeEntry here would trip
clippy::large_enum_variant (denied crate-wide, lib.rs).
PartitionEnd
No more ClusterGroups remain for key’s partition.
Fields
key: DecoratedKeyPartition key whose cluster groups are exhausted.
Complete
The merge is complete (no more partitions in any run).
Trait Implementations§
Source§impl Clone for StreamingStep
impl Clone for StreamingStep
Source§fn clone(&self) -> StreamingStep
fn clone(&self) -> StreamingStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StreamingStep
impl Debug for StreamingStep
impl Eq for StreamingStep
Source§impl PartialEq for StreamingStep
impl PartialEq for StreamingStep
impl StructuralPartialEq for StreamingStep
Auto Trait Implementations§
impl Freeze for StreamingStep
impl RefUnwindSafe for StreamingStep
impl Send for StreamingStep
impl Sync for StreamingStep
impl Unpin for StreamingStep
impl UnsafeUnpin for StreamingStep
impl UnwindSafe for StreamingStep
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.