public abstract static class SketchFrequencies.Sketch<T> extends Object implements Serializable
| Constructor and Description |
|---|
Sketch() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T element,
Coder<T> coder) |
void |
add(T element,
long count,
Coder<T> coder) |
long |
estimateCount(T element,
Coder<T> coder)
Utility class to retrieve the estimate frequency of an element from a
CountMinSketch. |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.