Skip to content

Latest commit

 

History

History
 
 

nitrite-rocksdb-adapter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Nitrite RocksDB Storage Adapter

A RocksDB based NitriteStore implementation for Nitrite database. This storage adapter uses RocksDB as the underlying storage engine.

How To Install

To use this add required dependencies:

Maven

<dependencies>
    <dependency>
        <groupId>org.dizitart</groupId>
        <artifactId>nitrite-rocksdb-adapter</artifactId>
    </dependency>
</dependencies>

Gradle

implementation 'org.dizitart:nitrite-rocksdb-adapter'

Initialize RocksDB Module

RocksDBModule storeModule = RocksDBModule.withConfig()
    .filePath(filePath)
    .build();

Nitrite db = Nitrite.builder()
    .loadModule(storeModule)
    .openOrCreate(user, password);