mirror of
https://github.com/apache/druid.git
synced 2025-02-26 13:16:30 +00:00
make things actually work with roaring
This commit is contained in:
parent
358b2add17
commit
c5cc826998
@ -26,7 +26,7 @@ import com.metamx.collections.bitmap.ImmutableBitmap;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = RoaringBitmapSerdeFactory.class)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = ConciseBitmapSerdeFactory.class)
|
||||||
@JsonSubTypes(value = {
|
@JsonSubTypes(value = {
|
||||||
@JsonSubTypes.Type(name = "concise", value = ConciseBitmapSerdeFactory.class),
|
@JsonSubTypes.Type(name = "concise", value = ConciseBitmapSerdeFactory.class),
|
||||||
@JsonSubTypes.Type(name = "roaring", value = RoaringBitmapSerdeFactory.class)
|
@JsonSubTypes.Type(name = "roaring", value = RoaringBitmapSerdeFactory.class)
|
||||||
@ -34,8 +34,7 @@ import com.metamx.collections.bitmap.ImmutableBitmap;
|
|||||||
|
|
||||||
public interface BitmapSerdeFactory
|
public interface BitmapSerdeFactory
|
||||||
{
|
{
|
||||||
//public static BitmapSerdeFactory DEFAULT_BITMAP_SERDE_FACTORY = new ConciseBitmapSerdeFactory();
|
public static BitmapSerdeFactory DEFAULT_BITMAP_SERDE_FACTORY = new ConciseBitmapSerdeFactory();
|
||||||
public static BitmapSerdeFactory DEFAULT_BITMAP_SERDE_FACTORY = new RoaringBitmapSerdeFactory();
|
|
||||||
|
|
||||||
public ObjectStrategy<ImmutableBitmap> getObjectStrategy();
|
public ObjectStrategy<ImmutableBitmap> getObjectStrategy();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user