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 class
RoaringBitmapWriter.RoaringWizard<T extends RoaringBitmap>
Subclasses of RoaringBitmap in org.roaringbitmapModifier and TypeClassDescriptionclass
This extendsRoaringBitmap
to 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 RoaringBitmap
RoaringBitmap.add
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.add
(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) added.static RoaringBitmap
RoaringBitmap.addOffset
(RoaringBitmap x, long offset) Generate a copy of the provided bitmap, but with all its values incremented by offset.static RoaringBitmap
FastAggregation.and
(long[] aggregationBuffer, RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmap
FastAggregation.and
(Iterator<? extends RoaringBitmap> bitmaps) Compute the AND aggregate.static RoaringBitmap
FastAggregation.and
(RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmap
RoaringBitmap.and
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
RoaringBitmap.and
(RoaringBitmap x1, RoaringBitmap x2) Bitwise AND (intersection) operation.static RoaringBitmap
RoaringBitmap.andNot
(RoaringBitmap x1, RoaringBitmap x2) Bitwise ANDNOT (difference) operation.static RoaringBitmap
RoaringBitmap.andNot
(RoaringBitmap x1, RoaringBitmap x2, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
BitSetUtil.bitmapOf
(long[] words) Generate a RoaringBitmap out of a long[], each long using little-endian representation of its bitsstatic RoaringBitmap
BitSetUtil.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 RoaringBitmap
BitSetUtil.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 RoaringBitmap
Generate a RoaringBitmap out of a BitSetstatic RoaringBitmap
RoaringBitmap.bitmapOf
(int... dat) Generate a bitmap with the specified values set to true.static RoaringBitmap
RoaringBitmap.bitmapOfRange
(long min, long max) static RoaringBitmap
RoaringBitmap.bitmapOfUnordered
(int... data) Efficiently builds a RoaringBitmap from unordered dataRoaringBitmap.clone()
protected RoaringBitmap
RoaringBitmapWriter.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 RoaringBitmap
RoaringBitmap.flip
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.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 RoaringBitmap
FastAggregation.horizontal_or
(Iterator<? extends RoaringBitmap> bitmaps) Deprecated.static RoaringBitmap
FastAggregation.horizontal_or
(List<? extends RoaringBitmap> bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmap
FastAggregation.horizontal_or
(RoaringBitmap... bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmap
FastAggregation.horizontal_xor
(RoaringBitmap... bitmaps) Minimizes memory usage while computing the xor aggregate on a moderate number of bitmaps.protected static RoaringBitmap
RoaringBitmap.lazyor
(RoaringBitmap x1, RoaringBitmap x2) protected static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
FastAggregation.naive_and
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_and
(RoaringBitmap... bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_xor
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.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 RoaringBitmap
FastAggregation.or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
FastAggregation.or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
ParallelAggregation.or
(RoaringBitmap... bitmaps) Computes the bitwise union of the input bitmapsstatic RoaringBitmap
RoaringBitmap.or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
RoaringBitmap.or
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
RoaringBitmap.or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
RoaringBitmap.or
(RoaringBitmap x1, RoaringBitmap x2) Bitwise OR (union) operation.static RoaringBitmap
RoaringBitmap.orNot
(RoaringBitmap x1, RoaringBitmap x2, long rangeEnd) Bitwise ORNOT operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static RoaringBitmap
FastAggregation.priorityqueue_or
(Iterator<? extends RoaringBitmap> bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmap
FastAggregation.priorityqueue_or
(RoaringBitmap... bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmap
FastAggregation.priorityqueue_xor
(RoaringBitmap... bitmaps) Uses a priority queue to compute the xor aggregate.static RoaringBitmap
RoaringBitmap.remove
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.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 RoaringBitmap
FastAggregation.workAndMemoryShyAnd
(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers, limits memory usage.static RoaringBitmap
FastAggregation.workShyAnd
(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers.static RoaringBitmap
FastAggregation.xor
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps.static RoaringBitmap
FastAggregation.xor
(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps.static RoaringBitmap
ParallelAggregation.xor
(RoaringBitmap... bitmaps) Computes the bitwise symmetric difference of the input bitmapsstatic RoaringBitmap
RoaringBitmap.xor
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
RoaringBitmap.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 RoaringBitmap
RoaringBitmap.add
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.add
(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) added.static RoaringBitmap
RoaringBitmap.addOffset
(RoaringBitmap x, long offset) Generate a copy of the provided bitmap, but with all its values incremented by offset.static RoaringBitmap
FastAggregation.and
(long[] aggregationBuffer, RoaringBitmap... bitmaps) Compute the AND aggregate.static RoaringBitmap
FastAggregation.and
(RoaringBitmap... bitmaps) Compute the AND aggregate.void
FastRankRoaringBitmap.and
(RoaringBitmap x2) void
RoaringBitmap.and
(RoaringBitmap x2) In-place bitwise AND (intersection) operation.static RoaringBitmap
RoaringBitmap.and
(RoaringBitmap x1, RoaringBitmap x2) Bitwise AND (intersection) operation.static int
FastAggregation.andCardinality
(RoaringBitmap... bitmaps) Compute cardinality of the AND aggregate.static int
RoaringBitmap.andCardinality
(RoaringBitmap x1, RoaringBitmap x2) Cardinality of Bitwise AND (intersection) operation.void
FastRankRoaringBitmap.andNot
(RoaringBitmap x2) void
RoaringBitmap.andNot
(RoaringBitmap x2) In-place bitwise ANDNOT (difference) operation.static RoaringBitmap
RoaringBitmap.andNot
(RoaringBitmap x1, RoaringBitmap x2) Bitwise ANDNOT (difference) operation.static RoaringBitmap
RoaringBitmap.andNot
(RoaringBitmap x1, RoaringBitmap x2, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.andNot
(RoaringBitmap x1, RoaringBitmap x2, long rangeStart, long rangeEnd) Bitwise ANDNOT (difference) operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static int
RoaringBitmap.andNotCardinality
(RoaringBitmap x1, RoaringBitmap x2) Cardinality of the bitwise ANDNOT (left difference) operation.long
RangeBitmap.betweenCardinality
(long min, long max, RoaringBitmap context) Returns the number of rows which have a value in between the thresholds.static BitSet
BitSetUtil.bitsetOf
(RoaringBitmap bitmap) Convert aRoaringBitmap
to aBitSet
.static BitSet
BitSetUtil.bitsetOfWithoutCopy
(RoaringBitmap bitmap) Convert aRoaringBitmap
to aBitSet
without copying to an intermediate array.boolean
RoaringBitmap.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.long
RangeBitmap.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 boolean
BitSetUtil.equals
(BitSet bitset, RoaringBitmap bitmap) Compares a RoaringBitmap and a BitSet.static RoaringBitmap
RoaringBitmap.flip
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.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.long
RangeBitmap.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.long
RangeBitmap.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 RoaringBitmap
FastAggregation.horizontal_or
(RoaringBitmap... bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmap
FastAggregation.horizontal_xor
(RoaringBitmap... bitmaps) Minimizes memory usage while computing the xor aggregate on a moderate number of bitmaps.static boolean
RoaringBitmap.intersects
(RoaringBitmap x1, RoaringBitmap x2) Checks whether the two bitmaps intersect.boolean
RoaringBitmap.isHammingSimilar
(RoaringBitmap other, int tolerance) Returns true if the other bitmap has no more than tolerance bits differing from this bitmap.protected void
RoaringBitmap.lazyor
(RoaringBitmap x2) protected static RoaringBitmap
RoaringBitmap.lazyor
(RoaringBitmap x1, RoaringBitmap x2) protected static RoaringBitmap
RoaringBitmap.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.long
RangeBitmap.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.long
RangeBitmap.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 RoaringBitmap
FastAggregation.naive_and
(RoaringBitmap... bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_xor
(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps two-by-two.protected void
RoaringBitmap.naivelazyor
(RoaringBitmap x2) static void
RoaringBitmapPrivate.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.long
RangeBitmap.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 RoaringBitmap
FastAggregation.or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.void
FastRankRoaringBitmap.or
(RoaringBitmap x2) static RoaringBitmap
ParallelAggregation.or
(RoaringBitmap... bitmaps) Computes the bitwise union of the input bitmapsvoid
RoaringBitmap.or
(RoaringBitmap x2) In-place bitwise OR (union) operation.static RoaringBitmap
RoaringBitmap.or
(RoaringBitmap... bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
RoaringBitmap.or
(RoaringBitmap x1, RoaringBitmap x2) Bitwise OR (union) operation.static int
FastAggregation.orCardinality
(RoaringBitmap... bitmaps) Compute cardinality of the OR aggregate.static int
RoaringBitmap.orCardinality
(RoaringBitmap x1, RoaringBitmap x2) Cardinality of the bitwise OR (union) operation.void
RoaringBitmap.orNot
(RoaringBitmap other, long rangeEnd) In-place bitwise ORNOT operation.static RoaringBitmap
RoaringBitmap.orNot
(RoaringBitmap x1, RoaringBitmap x2, long rangeEnd) Bitwise ORNOT operation for the given range, rangeStart (inclusive) and rangeEnd (exclusive).static RoaringBitmap
FastAggregation.priorityqueue_or
(RoaringBitmap... bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmap
FastAggregation.priorityqueue_xor
(RoaringBitmap... bitmaps) Uses a priority queue to compute the xor aggregate.static RoaringBitmap
RoaringBitmap.remove
(RoaringBitmap rb, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the rangestatic RoaringBitmap
RoaringBitmap.remove
(RoaringBitmap rb, long rangeStart, long rangeEnd) Generate a new bitmap with all integers in [rangeStart,rangeEnd) removed.static void
RoaringBitmapPrivate.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 RoaringBitmap
FastAggregation.workAndMemoryShyAnd
(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers, limits memory usage.static RoaringBitmap
FastAggregation.workShyAnd
(long[] buffer, RoaringBitmap... bitmaps) Computes the intersection by first intersecting the keys, avoids materialising containers.void
IntIteratorFlyweight.wrap
(RoaringBitmap r) Prepares a bitmap for iterationvoid
ReverseIntIteratorFlyweight.wrap
(RoaringBitmap r) Prepares a bitmap for iterationstatic RoaringBitmap
FastAggregation.xor
(RoaringBitmap... bitmaps) Compute overall XOR between bitmaps.void
FastRankRoaringBitmap.xor
(RoaringBitmap x2) static RoaringBitmap
ParallelAggregation.xor
(RoaringBitmap... bitmaps) Computes the bitwise symmetric difference of the input bitmapsvoid
RoaringBitmap.xor
(RoaringBitmap x2) In-place bitwise XOR (symmetric difference) operation.static RoaringBitmap
RoaringBitmap.xor
(RoaringBitmap x1, RoaringBitmap x2) Bitwise XOR (symmetric difference) operation.static int
RoaringBitmap.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 RoaringBitmap
FastAggregation.and
(Iterator<? extends RoaringBitmap> bitmaps) Compute the AND aggregate.static RoaringBitmap
RoaringBitmap.and
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
FastAggregation.horizontal_or
(Iterator<? extends RoaringBitmap> bitmaps) Deprecated.static RoaringBitmap
FastAggregation.horizontal_or
(List<? extends RoaringBitmap> bitmaps) Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmap
FastAggregation.naive_and
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall AND between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.naive_xor
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps two-by-two.static RoaringBitmap
FastAggregation.or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
RoaringBitmap.or
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall OR between bitmaps.static RoaringBitmap
RoaringBitmap.or
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 RoaringBitmap
FastAggregation.priorityqueue_or
(Iterator<? extends RoaringBitmap> bitmaps) Uses a priority queue to compute the or aggregate.static RoaringBitmap
FastAggregation.xor
(Iterator<? extends RoaringBitmap> bitmaps) Compute overall XOR between bitmaps.static RoaringBitmap
RoaringBitmap.xor
(Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd) Deprecated.use the version where longs specify the range.static RoaringBitmap
RoaringBitmap.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 BitmapStatistics
BitmapAnalyser.analyse
(RoaringBitmap r) Analyze the internal representation of bitmapMethod parameters in org.roaringbitmap.insights with type arguments of type RoaringBitmapModifier and TypeMethodDescriptionstatic BitmapStatistics
BitmapAnalyser.analyse
(Collection<? extends RoaringBitmap> bitmaps) Analyze the internal representation of bitmaps