|
22 | 22 | import static org.apache.datasketches.partitions.BoundsRule.INCLUDE_BOTH; |
23 | 23 | import static org.apache.datasketches.quantilescommon.QuantileSearchCriteria.INCLUSIVE; |
24 | 24 |
|
25 | | -import java.util.Comparator; |
26 | 25 | import java.util.List; |
27 | 26 |
|
28 | 27 | import org.apache.datasketches.common.SketchesArgumentException; |
29 | 28 | import org.apache.datasketches.partitions.Partitioner.PartitionBoundsRow; |
30 | 29 | import org.apache.datasketches.quantiles.ItemsSketch; |
31 | | -import org.apache.datasketches.quantilescommon.PartitioningFeature; |
32 | | -import org.apache.datasketches.quantilescommon.QuantilesGenericAPI; |
33 | 30 | import org.testng.annotations.Test; |
34 | 31 |
|
35 | 32 | /** |
@@ -72,19 +69,8 @@ public void checkClassicPartitioner() { |
72 | 69 | final long tgtPartitionSize = 3_000_000L; |
73 | 70 | final int maxPartsPerSk = 100; |
74 | 71 | classicPartitioner(k, totalN, tgtPartitionSize, maxPartsPerSk); |
75 | | - final ItemsSketch<String> sk = ItemsSketch.getInstance(String.class, k, Comparator.naturalOrder()); |
76 | | - this.runPartitioner(k, totalN, tgtPartitionSize, maxPartsPerSk, sk); |
77 | 72 | } |
78 | 73 |
|
79 | | - public <T, S extends QuantilesGenericAPI<T> & PartitioningFeature<T>> |
80 | | - void runPartitioner(final int k, final long totalN, final long tgtPartitionSize, final int maxPartsPerSk, |
81 | | - ItemsSketch<String> sketch) { |
82 | | - final ItemsSketchFillRequestLongAsString fillReq = new ItemsSketchFillRequestLongAsString(k, totalN); |
83 | | - final long startTime_mS = System.currentTimeMillis(); |
84 | | - } |
85 | | - |
86 | | - //SketchFillRequest<String, ItemsSketch<String>> |
87 | | - |
88 | 74 | /** |
89 | 75 | * Programmatic call to classic Partitioner |
90 | 76 | * @param k the size of the sketch. |
|
0 commit comments