blob: d88005f106b413153717095d6b8a54979e5aa2a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchlib.aggregation.hll;
/**
* Contain constants relevant for HyperLogLog classes.
*
* @author bjorncs
*/
public interface HyperLogLog {
/**
* Default HLL precision.
*/
int DEFAULT_PRECISION = 10;
/**
* Threshold to convert sparse sketch to normal sketch.
*/
int SPARSE_SKETCH_CONVERSION_THRESHOLD = 256;
}
|