Skip to content

Commit e06ff13

Browse files
committed
Removes unused CountMinSketchImpl constructor
1 parent 1f0a120 commit e06ff13

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

common/sketch/src/main/java/org/apache/spark/util/sketch/CountMinSketchImpl.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ public CountMinSketchImpl(double eps, double confidence, int seed) {
5151
initTablesWith(depth, width, seed);
5252
}
5353

54-
public CountMinSketchImpl(int depth, int width, long totalCount, long[] hashA, long[][] table) {
55-
this.depth = depth;
56-
this.width = width;
57-
this.eps = 2.0 / width;
58-
this.confidence = 1 - 1 / Math.pow(2, depth);
59-
this.hashA = hashA;
60-
this.table = table;
61-
this.totalCount = totalCount;
62-
}
63-
6454
private void initTablesWith(int depth, int width, int seed) {
6555
this.table = new long[depth][width];
6656
this.hashA = new long[depth];

0 commit comments

Comments
 (0)