pub trait RadixPartitionInputChunkable {
type Out;
fn input_chunks<'a, Key>(
&'a self,
num_chunks: u32
) -> Result<Vec<RadixPartitionInputChunk<'a, Self::Out>>>;
}
Associated Types
Required methods
fn input_chunks<'a, Key>(
&'a self,
num_chunks: u32
) -> Result<Vec<RadixPartitionInputChunk<'a, Self::Out>>>
fn input_chunks<'a, Key>(
&'a self,
num_chunks: u32
) -> Result<Vec<RadixPartitionInputChunk<'a, Self::Out>>>
Splits the input into equally sized chunks.
If necessary, the last chunk is shortened to not exceed the data length.