Package de.jungblut.partition
Class BlockPartitioner
- java.lang.Object
-
- de.jungblut.partition.BlockPartitioner
-
- All Implemented Interfaces:
Partitioner
public class BlockPartitioner extends java.lang.Object implements Partitioner
This partitioner partitions connected ranges from 0 to numberOfRows into sizeOfCluster buckets.- Author:
- thomas.jungblut
-
-
Constructor Summary
Constructors Constructor Description BlockPartitioner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boundariespartition(int sizeOfCluster, int numberOfRows)
-
-
-
Method Detail
-
partition
public Boundaries partition(int sizeOfCluster, int numberOfRows)
- Specified by:
partitionin interfacePartitioner
-
-