public class CountMinSketchStateTopk extends Object
Constructor and Description |
---|
CountMinSketchStateTopk(int topkMax) |
CountMinSketchStateTopk(int topkMax,
TreeMap<Long,Object> topk,
Map<ByteBuffer,Long> lastFreqForItem) |
Modifier and Type | Method and Description |
---|---|
TreeMap<Long,Object> |
getTopk() |
int |
getTopkMax() |
List<ByteBuffer> |
getTopKValues() |
void |
updateExpectIncreasing(byte[] value,
long frequency) |
public void updateExpectIncreasing(byte[] value, long frequency)
public List<ByteBuffer> getTopKValues()
public int getTopkMax()