use of org.apache.datasketches.hll.HllSketch in project druid by druid-io.
the class HllSketchAggregatorFactoryTest method getMockSketch.
private static HllSketch getMockSketch() {
HllSketch sketch = EasyMock.mock(HllSketch.class);
EasyMock.expect(sketch.getEstimate()).andReturn(ESTIMATE);
EasyMock.replay(sketch);
return sketch;
}
Aggregations