Uses of Class
org.roaringbitmap.RoaringBitmap
Packages that use RoaringBitmap
Package
Description
The org.roaringbitmap package provides
one class (
RoaringBitmap) that users
can rely upon for fast set of integers.The org.roaringbitmap.buffer package provides
two classes (
MutableRoaringBitmap and
(ImmutableRoaringBitmap) that users
can rely upon for fast set of integers.-
Uses of RoaringBitmap in org.roaringbitmap
Classes in org.roaringbitmap with type parameters of type RoaringBitmapModifier and TypeClassDescriptionstatic classRoaringBitmapWriter.RoaringWizard<T extends RoaringBitmap>Subclasses of RoaringBitmap in org.roaringbitmapModifier and TypeClassDescriptionclassThis extendsRoaringBitmapto provide better performance for .rank and .select operations, at the cost of maintain a cache of cardinalities.Methods in org.roaringbitmap that return RoaringBitmapModifier and TypeMethodDescriptionstatic RoaringBitmapRoaringBitmap.add(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.add(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) added.static RoaringBitmapRoaringBitmap.addOffset(RoaringBitmap x, long offset) Generate a copy of the provided bitmap, but with all its values incremented by offset.static RoaringBitmapFastAggregation.and(long[] aggregationBuffer, RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmapFastAggregation.and(Iterator<? extends RoaringBitmap> bitmaps) Compute the AND aggregate.static RoaringBitmapFastAggregation.and(RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmapRoaringBitmap.and(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.and(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes AND between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)static RoaringBitmapRoaringBitmap.and(RoaringBitmap x1, RoaringBitmap x2) Bitwise AND (intersection) operation.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2) Bitwise ANDNOT (difference) operation.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2, long rangeStart, long rangeEnd) Bitwise ANDNOT (difference) operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).RangeBitmap.between(long min, long max) Returns a RoaringBitmap of rows which have a value in between the thresholds.static RoaringBitmapBitSetUtil.bitmapOf(long[] words) Generate a RoaringBitmap out of a long[], each long using little-endian representation of its bitsstatic RoaringBitmapBitSetUtil.bitmapOf(ByteBuffer bb, boolean fastRank) Efficiently generate a RoaringBitmap from an uncompressed byte array or ByteBuffer This method tries to minimise all kinds of memory allocationstatic RoaringBitmapBitSetUtil.bitmapOf(ByteBuffer bb, boolean fastRank, long[] wordsBuffer) Efficiently generate a RoaringBitmap from an uncompressed byte array or ByteBuffer This method tries to minimise all kinds of memory allocation
You can provide a cached wordsBuffer for avoiding 8 KB of extra allocation on every call No reference is kept to the wordsBuffer, so it can be cached as a ThreadLocalstatic RoaringBitmapGenerate a RoaringBitmap out of a BitSetstatic RoaringBitmapRoaringBitmap.bitmapOf(int... dat) Generate a bitmap with the specified values set to true.static RoaringBitmapRoaringBitmap.bitmapOfRange(long min, long max) static RoaringBitmapRoaringBitmap.bitmapOfUnordered(int... data) Efficiently builds a RoaringBitmap from unordered dataRoaringBitmap.clone()protected RoaringBitmapRoaringBitmapWriter.RoaringBitmapWizard.createUnderlying(int initialCapacity) RangeBitmap.eq(long value) Returns a RoaringBitmap of rows which have a value equal to the value.RangeBitmap.eq(long value, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value equal to the value.static RoaringBitmapRoaringBitmap.flip(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.flip(RoaringBitmap bm, long rangeStart, long rangeEnd) Complements the bits in the given range, from rangeStart (inclusive) rangeEnd (exclusive).RangeBitmap.gt(long threshold) Returns a RoaringBitmap of rows which have a value greater than the threshold.RangeBitmap.gt(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value greater than the threshold, and intersect with the context bitmap, which will not be modified.RangeBitmap.gte(long threshold) Returns a RoaringBitmap of rows which have a value greater than or equal to the threshold.RangeBitmap.gte(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value greater than or equal to the threshold, and intersect with the context bitmap, which will not be modified.static RoaringBitmapFastAggregation.horizontal_or(Iterator<? extends RoaringBitmap> bitmaps) Deprecated.static RoaringBitmapFastAggregation.horizontal_or(List<? extends RoaringBitmap> bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmapFastAggregation.horizontal_or(RoaringBitmap... bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmapFastAggregation.horizontal_xor(RoaringBitmap... bitmaps) Minimizes memory usage while computing the xor aggregate on a moderate number of bitmaps.protected static RoaringBitmapRoaringBitmap.lazyor(RoaringBitmap x1, RoaringBitmap x2) protected static RoaringBitmapRoaringBitmap.lazyorfromlazyinputs(RoaringBitmap x1, RoaringBitmap x2) RoaringBitmap.limit(int maxcardinality) Create a new Roaring bitmap containing at most maxcardinality integers.RangeBitmap.lt(long threshold) Returns a RoaringBitmap of rows which have a value less than the threshold.RangeBitmap.lt(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value less than the threshold, and intersect with the context bitmap, which will not be modified.RangeBitmap.lte(long threshold) Returns a RoaringBitmap of rows which have a value less than or equal to the threshold.RangeBitmap.lte(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value less than or equal to the threshold, and intersect with the context bitmap, which will not be modified.static RoaringBitmapFastAggregation.naive_and(Iterator<? extends RoaringBitmap> bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_and(RoaringBitmap... bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_xor(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_xor(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps two-by-two.RangeBitmap.neq(long value) Returns a RoaringBitmap of rows which have a value not equal to the value.RangeBitmap.neq(long value, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value not equal to the value.static RoaringBitmapFastAggregation.or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmapFastAggregation.or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmapParallelAggregation.or(RoaringBitmap... bitmaps) Computes the bitwise union of the input bitmapsstatic RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes OR between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)static RoaringBitmapRoaringBitmap.or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap.or(RoaringBitmap x1, RoaringBitmap x2) Bitwise OR (union) operation.static RoaringBitmapRoaringBitmap.orNot(RoaringBitmap x1, RoaringBitmap x2, long rangeEnd) Bitwise ORNOT operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static RoaringBitmapFastAggregation.priorityqueue_or(Iterator<? extends RoaringBitmap> bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmapFastAggregation.priorityqueue_or(RoaringBitmap... bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmapFastAggregation.priorityqueue_xor(RoaringBitmap... bitmaps) Uses a priority queue to compute the xor aggregate.static RoaringBitmapRoaringBitmap.remove(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.remove(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) removed.RoaringBitmap.selectRange(long rangeStart, long rangeEnd) Creates a copy of the bitmap, limited to the values in the specified range, rangeStart (inclusive) and rangeEnd (exclusive).static RoaringBitmapFastAggregation.workAndMemoryShyAnd(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers, limits memory usage.static RoaringBitmapFastAggregation.workShyAnd(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers.static RoaringBitmapFastAggregation.xor(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps.static RoaringBitmapFastAggregation.xor(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps.static RoaringBitmapParallelAggregation.xor(RoaringBitmap... bitmaps) Computes the bitwise symmetric difference of the input bitmapsstatic RoaringBitmapRoaringBitmap.xor(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.xor(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes XOR between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)static RoaringBitmapRoaringBitmap.xor(RoaringBitmap x1, RoaringBitmap x2) Bitwise XOR (symmetric difference) operation.Methods in org.roaringbitmap that return types with arguments of type RoaringBitmapModifier and TypeMethodDescriptionParallelAggregation.ContainerCollector.finisher()RoaringBitmapWriter.writer()Methods in org.roaringbitmap with parameters of type RoaringBitmapModifier and TypeMethodDescriptionstatic RoaringBitmapRoaringBitmap.add(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.add(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) added.static RoaringBitmapRoaringBitmap.addOffset(RoaringBitmap x, long offset) Generate a copy of the provided bitmap, but with all its values incremented by offset.static RoaringBitmapFastAggregation.and(long[] aggregationBuffer, RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmapFastAggregation.and(RoaringBitmap... bitmaps) Compute the AND aggregate.voidFastRankRoaringBitmap.and(RoaringBitmap x2) voidRoaringBitmap.and(RoaringBitmap x2) In-place bitwise AND (intersection) operation.static RoaringBitmapRoaringBitmap.and(RoaringBitmap x1, RoaringBitmap x2) Bitwise AND (intersection) operation.static intFastAggregation.andCardinality(RoaringBitmap... bitmaps) Compute cardinality of the AND aggregate.static intRoaringBitmap.andCardinality(RoaringBitmap x1, RoaringBitmap x2) Cardinality of Bitwise AND (intersection) operation.voidFastRankRoaringBitmap.andNot(RoaringBitmap x2) voidRoaringBitmap.andNot(RoaringBitmap x2) In-place bitwise ANDNOT (difference) operation.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2) Bitwise ANDNOT (difference) operation.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.andNot(RoaringBitmap x1, RoaringBitmap x2, long rangeStart, long rangeEnd) Bitwise ANDNOT (difference) operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static intRoaringBitmap.andNotCardinality(RoaringBitmap x1, RoaringBitmap x2) Cardinality of the bitwise ANDNOT (left difference) operation.longRangeBitmap.betweenCardinality(long min, long max, RoaringBitmap context) Returns the number of rows which have a value in between the thresholds.static BitSetBitSetUtil.bitsetOf(RoaringBitmap bitmap) Convert aRoaringBitmapto aBitSet.static BitSetBitSetUtil.bitsetOfWithoutCopy(RoaringBitmap bitmap) Convert aRoaringBitmapto aBitSetwithout copying to an intermediate array.booleanRoaringBitmap.contains(RoaringBitmap subset) Checks whether the parameter is a subset of this RoaringBitmap or notRangeBitmap.eq(long value, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value equal to the value.longRangeBitmap.eqCardinality(long value, RoaringBitmap context) Returns the number of rows which have a value equal to the value, and intersect with the context bitmap, which will not be modified.static booleanBitSetUtil.equals(BitSet bitset, RoaringBitmap bitmap) Compares a RoaringBitmap and a BitSet.static RoaringBitmapRoaringBitmap.flip(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.flip(RoaringBitmap bm, long rangeStart, long rangeEnd) Complements the bits in the given range, from rangeStart (inclusive) rangeEnd (exclusive).ParallelAggregation.groupByKey(RoaringBitmap... bitmaps) Groups the containers by their keysRangeBitmap.gt(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value greater than the threshold, and intersect with the context bitmap, which will not be modified.longRangeBitmap.gtCardinality(long threshold, RoaringBitmap context) Returns the number of rows which have a value greater than the threshold, and intersect with the context bitmap, which will not be modified.RangeBitmap.gte(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value greater than or equal to the threshold, and intersect with the context bitmap, which will not be modified.longRangeBitmap.gteCardinality(long threshold, RoaringBitmap context) Returns the number of rows which have a value greater than or equal to the threshold, and intersect with the context bitmap, which will not be modified.static RoaringBitmapFastAggregation.horizontal_or(RoaringBitmap... bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmapFastAggregation.horizontal_xor(RoaringBitmap... bitmaps) Minimizes memory usage while computing the xor aggregate on a moderate number of bitmaps.static booleanRoaringBitmap.intersects(RoaringBitmap x1, RoaringBitmap x2) Checks whether the two bitmaps intersect.booleanRoaringBitmap.isHammingSimilar(RoaringBitmap other, int tolerance) Returns true if the other bitmap has no more than tolerance bits differing from this bitmap.protected voidRoaringBitmap.lazyor(RoaringBitmap x2) protected static RoaringBitmapRoaringBitmap.lazyor(RoaringBitmap x1, RoaringBitmap x2) protected static RoaringBitmapRoaringBitmap.lazyorfromlazyinputs(RoaringBitmap x1, RoaringBitmap x2) RangeBitmap.lt(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value less than the threshold, and intersect with the context bitmap, which will not be modified.longRangeBitmap.ltCardinality(long threshold, RoaringBitmap context) Returns the number of rows which have a value less than the threshold, and intersect with the context bitmap, which will not be modified.RangeBitmap.lte(long threshold, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value less than or equal to the threshold, and intersect with the context bitmap, which will not be modified.longRangeBitmap.lteCardinality(long threshold, RoaringBitmap context) Returns the number of rows which have a value less than or equal to the threshold, and intersect with the context bitmap, which will not be modified.static RoaringBitmapFastAggregation.naive_and(RoaringBitmap... bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_xor(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps two-by-two.protected voidRoaringBitmap.naivelazyor(RoaringBitmap x2) static voidRoaringBitmapPrivate.naivelazyor(RoaringBitmap x1, RoaringBitmap x2) Deprecated.RangeBitmap.neq(long value, RoaringBitmap context) Returns a RoaringBitmap of rows which have a value not equal to the value.longRangeBitmap.neqCardinality(long value, RoaringBitmap context) Returns the number of rows which have a value not equal to the value, and intersect with the context bitmap, which will not be modified.static RoaringBitmapFastAggregation.or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.voidFastRankRoaringBitmap.or(RoaringBitmap x2) static RoaringBitmapParallelAggregation.or(RoaringBitmap... bitmaps) Computes the bitwise union of the input bitmapsvoidRoaringBitmap.or(RoaringBitmap x2) In-place bitwise OR (union) operation.static RoaringBitmapRoaringBitmap.or(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap.or(RoaringBitmap x1, RoaringBitmap x2) Bitwise OR (union) operation.static intFastAggregation.orCardinality(RoaringBitmap... bitmaps) Compute cardinality of the OR aggregate.static intRoaringBitmap.orCardinality(RoaringBitmap x1, RoaringBitmap x2) Cardinality of the bitwise OR (union) operation.voidRoaringBitmap.orNot(RoaringBitmap other, long rangeEnd) In-place bitwise ORNOT operation.static RoaringBitmapRoaringBitmap.orNot(RoaringBitmap x1, RoaringBitmap x2, long rangeEnd) Bitwise ORNOT operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static RoaringBitmapFastAggregation.priorityqueue_or(RoaringBitmap... bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmapFastAggregation.priorityqueue_xor(RoaringBitmap... bitmaps) Uses a priority queue to compute the xor aggregate.static RoaringBitmapRoaringBitmap.remove(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmapRoaringBitmap.remove(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) removed.static voidRoaringBitmapPrivate.repairAfterLazy(RoaringBitmap r) Deprecated.static byte[]BitSetUtil.toByteArray(RoaringBitmap bitmap) Returns an array of little-endian ordered bytes, given aRoaringBitmap.static long[]BitSetUtil.toLongArray(RoaringBitmap bitmap) Returns an array of long, given aRoaringBitmap.static RoaringBitmapFastAggregation.workAndMemoryShyAnd(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers, limits memory usage.static RoaringBitmapFastAggregation.workShyAnd(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers.voidIntIteratorFlyweight.wrap(RoaringBitmap r) Prepares a bitmap for iterationvoidReverseIntIteratorFlyweight.wrap(RoaringBitmap r) Prepares a bitmap for iterationstatic RoaringBitmapFastAggregation.xor(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps.voidFastRankRoaringBitmap.xor(RoaringBitmap x2) static RoaringBitmapParallelAggregation.xor(RoaringBitmap... bitmaps) Computes the bitwise symmetric difference of the input bitmapsvoidRoaringBitmap.xor(RoaringBitmap x2) In-place bitwise XOR (symmetric difference) operation.static RoaringBitmapRoaringBitmap.xor(RoaringBitmap x1, RoaringBitmap x2) Bitwise XOR (symmetric difference) operation.static intRoaringBitmap.xorCardinality(RoaringBitmap x1, RoaringBitmap x2) Cardinality of the bitwise XOR (symmetric difference) operation.Method parameters in org.roaringbitmap with type arguments of type RoaringBitmapModifier and TypeMethodDescriptionstatic RoaringBitmapFastAggregation.and(Iterator<? extends RoaringBitmap> bitmaps) Compute the AND aggregate.static RoaringBitmapRoaringBitmap.and(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.and(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes AND between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)static RoaringBitmapFastAggregation.horizontal_or(Iterator<? extends RoaringBitmap> bitmaps) Deprecated.static RoaringBitmapFastAggregation.horizontal_or(List<? extends RoaringBitmap> bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmapFastAggregation.naive_and(Iterator<? extends RoaringBitmap> bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmapFastAggregation.naive_xor(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps two-by-two.static RoaringBitmapFastAggregation.or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.or(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes OR between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)static RoaringBitmapFastAggregation.priorityqueue_or(Iterator<? extends RoaringBitmap> bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmapFastAggregation.xor(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps.static RoaringBitmapRoaringBitmap.xor(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap.xor(Iterator<? extends RoaringBitmap> bitmaps, long rangeStart, long rangeEnd) Computes XOR between input bitmaps in the given range, from rangeStart (inclusive) to rangeEnd (exclusive)Constructors in org.roaringbitmap with parameters of type RoaringBitmapModifierConstructorDescriptionCreates an instance that is ready for iteration.Creates an instance that is ready for iteration. -
Uses of RoaringBitmap in org.roaringbitmap.buffer
Methods in org.roaringbitmap.buffer that return RoaringBitmapModifier and TypeMethodDescriptionImmutableRoaringBitmap.toRoaringBitmap()Copies this bitmap to a mutable RoaringBitmap.Constructors in org.roaringbitmap.buffer with parameters of type RoaringBitmapModifierConstructorDescriptionCreate a MutableRoaringBitmap from a RoaringBitmap. -
Uses of RoaringBitmap in org.roaringbitmap.insights
Methods in org.roaringbitmap.insights with parameters of type RoaringBitmapModifier and TypeMethodDescriptionstatic BitmapStatisticsBitmapAnalyser.analyse(RoaringBitmap r) Analyze the internal representation of bitmapMethod parameters in org.roaringbitmap.insights with type arguments of type RoaringBitmapModifier and TypeMethodDescriptionstatic BitmapStatisticsBitmapAnalyser.analyse(Collection<? extends RoaringBitmap> bitmaps) Analyze the internal representation of bitmaps