pub enum Route {
Forward(TaskId),
Shuffle {
columns: Vec<String>,
vnodes: u32,
targets: Vec<(TaskId, Range<u32>)>,
hasher: Hasher,
},
Broadcast(Vec<TaskId>),
}Expand description
Where a task’s output goes.
Variants§
Forward(TaskId)
Whole batches to one task.
Shuffle
Rows hashed on columns into vnodes; each target owns a contiguous vnode range.
Broadcast(Vec<TaskId>)
The same batch to every target.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Route
impl !UnwindSafe for Route
impl Freeze for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
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