The Single Partitioner.
Creates a single partition for the whole collection.
Note: Using this partitioner loses any parallelism and therefore is not generally recommended.
Calculate the Partitions
the pipeline to apply if any. Note this pipeline may have been appended to during optimization.