pub enum ExchangeKind {
HashRepartition {
keys: Vec<String>,
},
Broadcast,
Merge,
}Expand description
How rows move across one exchange edge (spec section 12.10).
Variants§
HashRepartition
Rows are hash-routed on keys across the sibling consumers of the
producing fragment.
Broadcast
The producer’s full output is replicated to every consumer.
Merge
The producer’s output flows to its single consumer.
Trait Implementations§
Source§impl Clone for ExchangeKind
impl Clone for ExchangeKind
Source§fn clone(&self) -> ExchangeKind
fn clone(&self) -> ExchangeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExchangeKind
impl Debug for ExchangeKind
Source§impl<'de> Deserialize<'de> for ExchangeKind
impl<'de> Deserialize<'de> for ExchangeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExchangeKind
Source§impl PartialEq for ExchangeKind
impl PartialEq for ExchangeKind
Source§impl Serialize for ExchangeKind
impl Serialize for ExchangeKind
impl StructuralPartialEq for ExchangeKind
Auto Trait Implementations§
impl Freeze for ExchangeKind
impl RefUnwindSafe for ExchangeKind
impl Send for ExchangeKind
impl Sync for ExchangeKind
impl Unpin for ExchangeKind
impl UnsafeUnpin for ExchangeKind
impl UnwindSafe for ExchangeKind
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
Mutably borrows from an owned value. Read more
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.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<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