Enum datafusion::physical_plan::Partitioning [−][src]
pub enum Partitioning { RoundRobinBatch(usize), Hash(Vec<Arc<dyn PhysicalExpr>>, usize), UnknownPartitioning(usize), }
Expand description
Partitioning schemes supported by operators.
Variants
Allocate batches using a round-robin algorithm and the specified number of partitions
Tuple Fields of RoundRobinBatch
0: usize
Allocate rows based on a hash of one of more expressions and the specified number of partitions
Tuple Fields of Hash
0: Vec<Arc<dyn PhysicalExpr>>
1: usize
Unknown partitioning scheme with a known number of partitions
Tuple Fields of UnknownPartitioning
0: usize
Implementations
Returns the number of partitions in this partitioning scheme
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Partitioning
impl Send for Partitioning
impl Sync for Partitioning
impl Unpin for Partitioning
impl !UnwindSafe for Partitioning
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self