public interface CountMinSketchAgent
Modifier and Type | Method and Description |
---|---|
void |
add(CountMinSketchAgentContextAdd ctx)
Add a value to the Count-min sketch.
|
Long |
estimate(CountMinSketchAgentContextEstimate ctx)
Return the estimated count for a given value.
|
Object |
fromBytes(CountMinSketchAgentContextFromBytes ctx)
Return the value object for a given byte-array, for use with top-K.
|
void add(CountMinSketchAgentContextAdd ctx)
ctx
- contains value to add as well as the stateLong estimate(CountMinSketchAgentContextEstimate ctx)
ctx
- contains value to query as well as the stateObject fromBytes(CountMinSketchAgentContextFromBytes ctx)
ctx
- value object and stateCopyright © 2005–2018. All rights reserved.