Skip to content

ametiste-oss/ametiste-lmdb-connector

Repository files navigation

Ametiste LMDB Connector Library

Overview

Lmdb Connector provide interface to interact with LMDB databases.

Connector has one implementation that uses JNI Library and contains precompiled versions for Linux (64-bit) and Mac OS X (64 bit).

Configuration

LMDB connector provides separate API module. To add its to project include next dependency to gradle script:

dependencies {
   compile("org.ametiste.lib:lmdb-connector-api:${connectorVersion}")
}

Concrete connector implementation adds as following:

dependencies {
   compile("org.ametiste.lib:lmdb-connector-deephacks:${connectorVersion}")
}

Example of usage

public void printData(String path) {
    LmdbConnector connector = mew JniLmdbConnector();

    try (LmdbIterator iter = connector.iterate(path)) {
        iter.forEachRemaining(System.out::println);
    }
}

About

Library to interact with LMDB database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages