use of org.apache.druid.collections.bitmap.WrappedConciseBitmap in project druid by druid-io.
the class VectorSelectorUtilsTest method testConciseMutableNullVector.
@Test
public void testConciseMutableNullVector() {
final WrappedConciseBitmap bitmap = new WrappedConciseBitmap();
populate(bitmap, NULLS);
assertNullVector(bitmap, NULLS);
final WrappedConciseBitmap bitmap2 = new WrappedConciseBitmap();
populate(bitmap2, NULLS_PATTERN);
assertNullVector(bitmap2, NULLS_PATTERN);
}
use of org.apache.druid.collections.bitmap.WrappedConciseBitmap in project druid by druid-io.
the class VectorSelectorUtilsTest method testConciseImmutableNullVector.
@Test
public void testConciseImmutableNullVector() {
final WrappedConciseBitmap bitmap = new WrappedConciseBitmap();
populate(bitmap, NULLS);
final ImmutableBitmap immutable = new WrappedImmutableConciseBitmap(ImmutableConciseSet.newImmutableFromMutable(bitmap.getBitmap()));
assertNullVector(immutable, NULLS);
final WrappedConciseBitmap bitmap2 = new WrappedConciseBitmap();
populate(bitmap2, NULLS_PATTERN);
final ImmutableBitmap immutable2 = new WrappedImmutableConciseBitmap(ImmutableConciseSet.newImmutableFromMutable(bitmap2.getBitmap()));
assertNullVector(immutable2, NULLS_PATTERN);
}
Aggregations