Package org.aksw.jenax.arq.aggregation
Class PartitionedQueryUtils
java.lang.Object
org.aksw.jenax.arq.aggregation.PartitionedQueryUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PartitionedQueryUtils
public PartitionedQueryUtils()
-
-
Method Details
-
partition
public static List<com.google.common.collect.Range<Long>> partition(long numberOfItems, int requestedGridSize, Long pageSize) Returns a list of ranges in regard to a total number of items that is requested to be split into gridSize partitions of optional size pageSize.- Parameters:
numberOfItems-requestedGridSize-pageSize-- Returns:
-