pub enum Distribution {
UnspecifiedDistribution,
SinglePartition,
HashPartitioned(Vec<Arc<dyn PhysicalExpr>>),
}
Expand description
Distribution schemes
Variants§
UnspecifiedDistribution
Unspecified distribution
SinglePartition
A single partition is required
HashPartitioned(Vec<Arc<dyn PhysicalExpr>>)
Requires children to be distributed in such a way that the same values of the keys end up in the same partition
Implementations§
source§impl Distribution
impl Distribution
sourcepub fn create_partitioning(&self, partition_count: usize) -> Partitioning
pub fn create_partitioning(&self, partition_count: usize) -> Partitioning
Creates a Partitioning for this Distribution to satisfy itself
Trait Implementations§
source§impl Clone for Distribution
impl Clone for Distribution
source§fn clone(&self) -> Distribution
fn clone(&self) -> Distribution
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl !UnwindSafe for Distribution
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