use of io.druid.collections.bitmap.WrappedRoaringBitmap in project druid by druid-io.
the class DistinctCountBufferAggregator method getMutableBitmap.
private MutableBitmap getMutableBitmap(ByteBuffer buf, int position) {
MutableBitmap mutableBitmap = mutableBitmapCollection.get(position);
if (mutableBitmap == null) {
mutableBitmap = new WrappedRoaringBitmap();
mutableBitmapCollection.put(position, mutableBitmap);
}
return mutableBitmap;
}
Aggregations