Uses of Class
org.roaringbitmap.RoaringBitmap
-
Packages that use RoaringBitmap Package Description org.roaringbitmap The org.roaringbitmap package provides one class (RoaringBitmap) that users can rely upon for fast set of integers.org.roaringbitmap.buffer The org.roaringbitmap.buffer package provides two classes (MutableRoaringBitmapand (ImmutableRoaringBitmap) that users can rely upon for fast set of integers.org.roaringbitmap.insights -
-
Uses of RoaringBitmap in org.roaringbitmap
Classes in org.roaringbitmap with type parameters of type RoaringBitmap Modifier and Type Class Description static classRoaringBitmapWriter.RoaringWizard<T extends RoaringBitmap>Subclasses of RoaringBitmap in org.roaringbitmap Modifier and Type Class Description classFastRankRoaringBitmapThis extendsRoaringBitmapto provide better performance for .rank and .select operations, at the cost of maintain a cache of cardinalities.Methods in org.roaringbitmap that return RoaringBitmap Modifier and Type Method Description static 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(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute the AND aggregate.static RoaringBitmapFastAggregation. and(RoaringBitmap... bitmaps)Compute the AND aggregate.static RoaringBitmapRoaringBitmap. and(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. and(java.util.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).RoaringBitmapRangeBitmap. 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(java.nio.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(java.nio.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 RoaringBitmapBitSetUtil. bitmapOf(java.util.BitSet bitSet)Generate 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 dataRoaringBitmapRoaringBitmap. clone()protected RoaringBitmapRoaringBitmapWriter.RoaringBitmapWizard. createUnderlying(int initialCapacity)RoaringBitmapRangeBitmap. eq(long value)Returns a RoaringBitmap of rows which have a value equal to the value.RoaringBitmapRangeBitmap. 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).RoaringBitmapRangeBitmap. gt(long threshold)Returns a RoaringBitmap of rows which have a value greater than the threshold.RoaringBitmapRangeBitmap. 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.RoaringBitmapRangeBitmap. gte(long threshold)Returns a RoaringBitmap of rows which have a value greater than or equal to the threshold.RoaringBitmapRangeBitmap. 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(java.util.Iterator<? extends RoaringBitmap> bitmaps)Deprecated.static RoaringBitmapFastAggregation. horizontal_or(java.util.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)RoaringBitmapRoaringBitmap. limit(int maxcardinality)Create a new Roaring bitmap containing at most maxcardinality integers.RoaringBitmapRangeBitmap. lt(long threshold)Returns a RoaringBitmap of rows which have a value less than the threshold.RoaringBitmapRangeBitmap. 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.RoaringBitmapRangeBitmap. lte(long threshold)Returns a RoaringBitmap of rows which have a value less than or equal to the threshold.RoaringBitmapRangeBitmap. 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(java.util.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(java.util.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(java.util.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.RoaringBitmapRangeBitmap. neq(long value)Returns a RoaringBitmap of rows which have a value not equal to the value.RoaringBitmapRangeBitmap. neq(long value, RoaringBitmap context)Returns a RoaringBitmap of rows which have a value not equal to the value.static RoaringBitmapFastAggregation. or(java.util.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(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap. or(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. or(java.util.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(java.util.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.RoaringBitmapRoaringBitmap. 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(java.util.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(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. xor(java.util.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 RoaringBitmap Modifier and Type Method Description java.util.function.Function<RoaringArray,RoaringBitmap>ParallelAggregation.ContainerCollector. finisher()static RoaringBitmapWriter.Wizard<Container,RoaringBitmap>RoaringBitmapWriter. writer()Methods in org.roaringbitmap with parameters of type RoaringBitmap Modifier and Type Method Description static 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 java.util.BitSetBitSetUtil. bitsetOf(RoaringBitmap bitmap)Convert aRoaringBitmapto aBitSet.static java.util.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 notRoaringBitmapRangeBitmap. 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(java.util.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).static java.util.SortedMap<java.lang.Character,java.util.List<Container>>ParallelAggregation. groupByKey(RoaringBitmap... bitmaps)Groups the containers by their keysRoaringBitmapRangeBitmap. 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.RoaringBitmapRangeBitmap. 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)RoaringBitmapRangeBitmap. 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.RoaringBitmapRangeBitmap. 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.RoaringBitmapRangeBitmap. 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 RoaringBitmap Modifier and Type Method Description static RoaringBitmapFastAggregation. and(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute the AND aggregate.static RoaringBitmapRoaringBitmap. and(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. and(java.util.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(java.util.Iterator<? extends RoaringBitmap> bitmaps)Deprecated.static RoaringBitmapFastAggregation. horizontal_or(java.util.List<? extends RoaringBitmap> bitmaps)Minimizes memory usage while computing the or aggregate on a moderate number of bitmaps.static RoaringBitmapFastAggregation. naive_and(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall AND between bitmaps two-by-two.static RoaringBitmapFastAggregation. naive_or(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall OR between bitmaps two-by-two.static RoaringBitmapFastAggregation. naive_xor(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall XOR between bitmaps two-by-two.static RoaringBitmapFastAggregation. or(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap. or(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall OR between bitmaps.static RoaringBitmapRoaringBitmap. or(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. or(java.util.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(java.util.Iterator<? extends RoaringBitmap> bitmaps)Uses a priority queue to compute the or aggregate.static RoaringBitmapFastAggregation. xor(java.util.Iterator<? extends RoaringBitmap> bitmaps)Compute overall XOR between bitmaps.static RoaringBitmapRoaringBitmap. xor(java.util.Iterator<? extends RoaringBitmap> bitmaps, int rangeStart, int rangeEnd)Deprecated.use the version where longs specify the range.static RoaringBitmapRoaringBitmap. xor(java.util.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 RoaringBitmap Constructor Description IntIteratorFlyweight(RoaringBitmap r)Creates an instance that is ready for iteration.ReverseIntIteratorFlyweight(RoaringBitmap r)Creates an instance that is ready for iteration. -
Uses of RoaringBitmap in org.roaringbitmap.buffer
Methods in org.roaringbitmap.buffer that return RoaringBitmap Modifier and Type Method Description RoaringBitmapImmutableRoaringBitmap. toRoaringBitmap()Copies this bitmap to a mutable RoaringBitmap.Constructors in org.roaringbitmap.buffer with parameters of type RoaringBitmap Constructor Description MutableRoaringBitmap(RoaringBitmap rb)Create a MutableRoaringBitmap from a RoaringBitmap. -
Uses of RoaringBitmap in org.roaringbitmap.insights
Methods in org.roaringbitmap.insights with parameters of type RoaringBitmap Modifier and Type Method Description static BitmapStatisticsBitmapAnalyser. analyse(RoaringBitmap r)Analyze the internal representation of bitmapMethod parameters in org.roaringbitmap.insights with type arguments of type RoaringBitmap Modifier and Type Method Description static BitmapStatisticsBitmapAnalyser. analyse(java.util.Collection<? extends RoaringBitmap> bitmaps)Analyze the internal representation of bitmaps
-