blob: 88512f987d5e7eb92da78c3cfb3f77c01847804d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchlib.aggregation.hll;
/**
* A interface for unique count estimation algorithms. The goal of this interface is
* to aid unit testing of {@link HyperLogLogEstimator} users.
*
* @author bjorncs
*/
public interface UniqueCountEstimator<T> {
long estimateCount(T sketch);
}
|