Skip to content

Commit

Permalink
rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
K CHEN 陈凯 committed Oct 31, 2023
1 parent d5e53f6 commit cf93856
Show file tree
Hide file tree
Showing 371 changed files with 1,080 additions and 1,075 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For example, this is a good example:
```Java
import java.io.IOException;

import org.roaringbitmap.RoaringBitmap;
import org.bitlap.roaringbitmap.RoaringBitmap;

public class Main {
public static void main(String[] args) throws IOException {
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Code sample
-------------

```java
import org.roaringbitmap.RoaringBitmap;
import org.bitlap.roaringbitmap.RoaringBitmap;

public class Basic {

Expand Down Expand Up @@ -199,7 +199,7 @@ Working with memory-mapped bitmaps
---------------------------------------

If you want to have your bitmaps lie in memory-mapped files, you can
use the org.roaringbitmap.buffer package instead. It contains two
use the org.bitlap.roaringbitmap.buffer package instead. It contains two
important classes, ImmutableRoaringBitmap and MutableRoaringBitmap.
MutableRoaringBitmaps are derived from ImmutableRoaringBitmap, so that
you can convert (cast) a MutableRoaringBitmap to an ImmutableRoaringBitmap
Expand Down Expand Up @@ -237,7 +237,7 @@ from a ByteBuffer. In such instances, the constructor only loads the meta-data
in RAM while the actual data is accessed from the ByteBuffer on demand.

```java
import org.roaringbitmap.buffer.*;
import org.bitlap.roaringbitmap.buffer.*;

//...

Expand Down Expand Up @@ -269,7 +269,7 @@ This design was inspired by Druid.
One can find a complete working example in the test file TestMemoryMapping.java.

Note that you should not mix the classes from the org.roaringbitmap package with the classes
from the org.roaringbitmap.buffer package. They are incompatible. They serialize
from the org.bitlap.roaringbitmap.buffer package. They are incompatible. They serialize
to the same output however. The performance of the code in org.roaringbitmap package is
generally superior because there is no overhead due to the use of ByteBuffer instances.

Expand Down Expand Up @@ -322,7 +322,7 @@ The newer `Roaring64Bitmap` approach relies on the ART data structure to hold th
[The Adaptive Radix Tree: ARTful Indexing for Main-Memory Databases](https://db.in.tum.de/~leis/papers/ART.pdf) by Leis et al. (ICDE '13).

```java
import org.roaringbitmap.longlong.*;
import org.bitlap.roaringbitmap.longlong.*;


// first Roaring64NavigableMap
Expand Down Expand Up @@ -518,7 +518,7 @@ To run JMH benchmarks, use the following command:

You can also run specific benchmarks...

$ ./jmh/run.sh 'org.roaringbitmap.aggregation.and.identical.*'
$ ./jmh/run.sh 'org.bitlap.roaringbitmap.aggregation.and.identical.*'


Mailing list/discussion group
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.util.Arrays;

Expand Down
8 changes: 4 additions & 4 deletions RoaringBitmap/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* This module class contains the public packages for the RoaringBitmap library.
*/
module roaringbitmap {
exports org.roaringbitmap;
exports org.roaringbitmap.buffer;
exports org.roaringbitmap.longlong;
exports org.roaringbitmap.insights;
exports org.bitlap.roaringbitmap;
exports org.bitlap.roaringbitmap.buffer;
exports org.bitlap.roaringbitmap.longlong;
exports org.bitlap.roaringbitmap.insights;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Key-value storage of 16 bit containers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;


import static org.roaringbitmap.Util.unsignedBinarySearch;
import static org.bitlap.roaringbitmap.Util.unsignedBinarySearch;

public final class ArrayBatchIterator implements ContainerBatchIterator {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import org.roaringbitmap.buffer.MappeableArrayContainer;
import org.roaringbitmap.buffer.MappeableContainer;
import org.bitlap.roaringbitmap.buffer.MappeableArrayContainer;
import org.bitlap.roaringbitmap.buffer.MappeableContainer;

import java.io.*;
import java.nio.ByteBuffer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Shim over JDK11 methods in Arrays to support multi-release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Wraps a batch iterator for use as an IntIterator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

public interface BatchIterator extends Cloneable {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;


import java.nio.ByteBuffer;
Expand Down Expand Up @@ -78,7 +78,7 @@ public static RoaringBitmap bitmapOf(final long[] words) {
*
* @param bb the uncompressed bitmap
* @param fastRank if set, returned bitmap is of type
* {@link org.roaringbitmap.FastRankRoaringBitmap}
* {@link org.bitlap.roaringbitmap.FastRankRoaringBitmap}
* @return roaring bitmap
*/
public static RoaringBitmap bitmapOf(ByteBuffer bb, boolean fastRank) {
Expand All @@ -94,7 +94,7 @@ public static RoaringBitmap bitmapOf(ByteBuffer bb, boolean fastRank) {
*
* @param bb the uncompressed bitmap
* @param fastRank if set, returned bitmap is of type
* {@link org.roaringbitmap.FastRankRoaringBitmap}
* {@link org.bitlap.roaringbitmap.FastRankRoaringBitmap}
* @param wordsBuffer buffer of length {@link BitSetUtil#BLOCK_LENGTH}
* @return roaring bitmap
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import static java.lang.Long.numberOfTrailingZeros;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import org.roaringbitmap.buffer.MappeableBitmapContainer;
import org.roaringbitmap.buffer.MappeableContainer;
import org.bitlap.roaringbitmap.buffer.MappeableBitmapContainer;
import org.bitlap.roaringbitmap.buffer.MappeableContainer;

import java.io.*;
import java.nio.ByteBuffer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Representing a general bitmap interface.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import org.roaringbitmap.longlong.Roaring64NavigableMap;
import org.bitlap.roaringbitmap.longlong.Roaring64NavigableMap;

/**
* Enable customizing the {@link BitmapDataProvider} used by {@link Roaring64NavigableMap}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Iterator over short values.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.util.Arrays;
import java.util.function.Supplier;

import static org.roaringbitmap.Util.*;
import static org.bitlap.roaringbitmap.Util.*;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import org.roaringbitmap.buffer.MappeableContainer;
import org.bitlap.roaringbitmap.buffer.MappeableContainer;

import java.io.DataInput;
import java.io.DataOutput;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;


import java.util.function.Supplier;

import static org.roaringbitmap.Util.*;
import static org.bitlap.roaringbitmap.Util.*;

/**
* This class can be used to write quickly values to a bitmap.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

public interface ContainerBatchIterator extends Cloneable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.util.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.util.Arrays;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.io.DataOutput;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* An IntConsumer receives the int values contained in a data structure.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Wrapper to use an IntConsumer where a RelativeRangeConsumer is expected.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* A simple iterator over integer values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Fast iterator minimizing the stress on the garbage collector. You can create one reusable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import java.util.*;
import java.util.concurrent.ForkJoinPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* (c) the authors Licensed under the Apache License, Version 2.0.
*/
package org.roaringbitmap;
package org.bitlap.roaringbitmap;



Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* PeekableCharIterator that calculates the next value rank during iteration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* PeekableIntIterator that calculates the next value rank during iteration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

import org.roaringbitmap.buffer.MappeableArrayContainer;
import org.roaringbitmap.buffer.MappeableBitmapContainer;
import org.roaringbitmap.buffer.MappeableContainer;
import org.roaringbitmap.buffer.MappeableRunContainer;
import org.bitlap.roaringbitmap.buffer.MappeableArrayContainer;
import org.bitlap.roaringbitmap.buffer.MappeableBitmapContainer;
import org.bitlap.roaringbitmap.buffer.MappeableContainer;
import org.bitlap.roaringbitmap.buffer.MappeableRunContainer;

import java.nio.ByteBuffer;
import java.nio.CharBuffer;
Expand All @@ -13,9 +13,9 @@
import java.util.function.IntFunction;

import static java.nio.ByteOrder.LITTLE_ENDIAN;
import static org.roaringbitmap.Util.cardinalityInBitmapRange;
import static org.roaringbitmap.Util.resetBitmapRange;
import static org.roaringbitmap.Util.setBitmapRange;
import static org.bitlap.roaringbitmap.Util.cardinalityInBitmapRange;
import static org.bitlap.roaringbitmap.Util.resetBitmapRange;
import static org.bitlap.roaringbitmap.Util.setBitmapRange;

/**
* A 2D bitmap which associates values with a row index and can perform range queries.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* A consumer interface to process ranges of value contained in a bitmap using relative offsets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;

/**
* Fast iterator minimizing the stress on the garbage collector. You can create one reusable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* (c) the authors Licensed under the Apache License, Version 2.0.
*/

package org.roaringbitmap;
package org.bitlap.roaringbitmap;


import java.io.*;
Expand Down
Loading

0 comments on commit cf93856

Please sign in to comment.